Question: What is the purpose of the `pass` statement in Python?

  1. It is used to skip the `yield` statement of a generator and return a value of None.
  2. It is a null operation used mainly as a placeholder in functions, classes, etc.
  3. It is used to pass control from one statement block to another.
  4. It is used to skip the rest of a `while` or `for loop` and return to the start of the loop.

Answer: The correct answer of the above question is Option B:It is a null operation used mainly as a placeholder in functions, classes, etc.