What is a deadlock in Operating System?
Q1. What is a deadlock in Operating System?
Answer: A situation where a process is waiting for a resource held by another process
Explanation: A deadlock occurs when two or more processes are blocked, each waiting for a resource held by the other.