Answers

Question and Answer:

  Home  C++ Constructors

⟩ 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.

Option D

Both A and B.

 236 views

More Questions for you: