Question: When is memory for a variable allocated?

  1. during the assigment of the variable
  2. during the initialization of the variable
  3. during the declaration of the variable
  4. during the definition of the variable

Answer: The correct answer of the above question is Option C:during the declaration of the variable