Examveda

What happens if a class does not define any constructors in C++?

A. The class will have a compilation error

B. The class cannot be compiled

C. A default constructor is automatically provided

D. The class cannot have any objects instantiated

Answer: Option C


Join The Discussion

Related Questions on Constructors and Destructors in C plus plus