To arise a deadlock situation, which of the following conditions hold simultaneously in a system?
1. Mutual exclusion
2. Hold and wait
3. Preemption
Select the correct answer using the code given below.
1
1 and 3 only
2
1 and 2 only
3
2 and 3 only
4
1, 2 and 3