What is a constructor in C++?
A. A function used to create multiple instances of a class
B. A function used to destroy objects
C. A special member function that initializes objects
D. A function that defines the implementation of a class
Answer: Option C

Join The Discussion