What is a deadlock in multithreading?
A. A condition where a thread blocks the execution of other threads
B. A situation where two or more threads are blocked indefinitely, waiting for each other to release resources
C. A condition that occurs when two or more threads access shared data and attempt to modify it at the same time
D. None of the above
Answer: Option B

Join The Discussion