What is a necessary condition for a deadlock to occur?
Q1. What is a necessary condition for a deadlock to occur?
Answer: All of the above
Explanation: Deadlock occurs when Mutual Exclusion, Hold and Wait, No Preemption, and Circular Wait conditions are met simultaneously.