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 :
Only (b) is correct
Only (c) is correct
Only (a) and (c) are correct
Only (b) and (c) are correct