With a single resource, deadlock occurs
With a single resource, deadlock occurs A. if there are only two processes competing for that resource B. if there is a single process competing for that resource C. if there are more than two processes competing for that D.…