Question

8. What is deadlock? How can it be avoided? How can it be resolved when it occurs?