Deadlock can be avoided using -
-
Phasing
-
Checkpointing
-
Both (a) and (b)
-
None of the above
C
Correct answer
Explanation
Phasing prevents deadlock by enforcing ordering in resource requests, while checkpointing allows rollback to safe states if deadlock occurs. Both are valid deadlock avoidance/prevention techniques in concurrent systems.