1Mediumgeneralโฑ 45sWhat is a deadlock, and what are the four necessary conditions for it to occur?๐โผAA deadlock is just a slow-running programBA deadlock is a state where processes are stuck waiting on each other indefinitely, requiring mutual exclusion, hold-and-wait, no preemption, and circular wait all to hold simultaneouslyCDeadlocks only occur in single-threaded programsDDeadlocks are resolved automatically by the CPU scheduler