To ensure that the hold and wait condition never occurs in the system, it must be ensured that ____________
(a) whenever a resource is requested by a process, it is not holding any other resources
(b) each process must request and be allocated all its resources before it begins its execution
(c) a process can request resources only when it has none
(d) all of the mentioned
The question was posed to me in an interview.
The doubt is from Deadlock Prevention in section Deadlocks of Operating System