Compiler provides its default constructor to build object - Constructor and Destructor
Q. If default constructor is not defined, then how the objects of the class will be created?- Published on 17 Jul 15a. The compiler will generate error
b. Error will occur at run-time.
c. Compiler provides its default constructor to build the object.
d. None of these
ANSWER: Compiler provides its default constructor to build the object.