Question: What is wrong with this code?

  1. Use of self inside the closure causes retain cycle.
  2. You cannot assign a value to closure in this manner.
  3. You need to define the type of closure explicitly.
  4. There is nothing wrong with this code.

Answer: The correct answer of the above question is Option A:Use of self inside the closure causes retain cycle.