What is a deadlock in multithreading?
A. A situation where a thread runs indefinitely without blocking
B. A situation where all threads complete successfully
C. A situation where a thread is terminated forcibly
D. A situation where two or more threads are unable to proceed because they are each waiting for the other to release a resource
Answer: Option D
Join The Discussion