C++ Constructors Question: Download C++ Constructors PDF

Which of the following statement is correct?

A. A constructor of a derived class can access any public and protected member of the base class.
B. Constructor cannot be inherited but the derived class can call them.
C. A constructor of a derived class cannot access any public and protected member of the base class.
D. Both A and B.

Tweet Share WhatsApp