Question: What will be the output of this code?

  1. 0
  2. It will deadlock
  3. It will not compile
  4. 2.718

Answer: The correct answer of the above question is Option B:It will deadlock