Examveda

What is the purpose of using constructor initialization lists in C++?

A. To override the default constructor

B. To create multiple constructors for a class

C. To initialize class members before the body of the constructor executes

D. To define constructors with multiple arguments

Answer: Option C


Join The Discussion

Related Questions on Constructors and Destructors in C plus plus