Consider the following statements about deadlock :
(a) Existence of a cycle in resource-allocation graph indicates deadlock.
(b) Existence of a cycle in wait-for graph indicates deadlock.
(c) Mutual-exclusion, hold and wait, no preemption and circular wait conditions, if occur simultaneously, may lead to deadlock.
Mark the correct option :
Qus
Consider the following statements about deadlock :
(a) Existence of a cycle in resource-allocation graph indicates deadlock.
(b) Existence of a cycle in wait-for graph indicates deadlock.
(c) Mutual-exclusion, hold and wait, no preemption and circular wait conditions, if occur simultaneously, may lead to deadlock.
Mark the correct option :
A. Only (b) is correct
B. Only (c) is correct
C. Only (a) and (c) are correct
D. Only (b) and (c) are correct