Vidyalelo
C++ Programming · Q11

Inheritance in C++

Programming · C++ Programming · question 11

Q11

In C++, if a derived class does not define a constructor, which constructor of the base class is called during the object creation of the derived class?

A.
No constructor is called
B.
Destructor of the base class
C.
Parameterized constructor of the base class
D.
Default constructor of the base class
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board