Question

Q3[C++11]: Which of the following statements about inheriting base class constructors is false?
a. To inherit a base class's constructors, you write the following line of code in the derived class definition (BaseClass is the base class's name):
using BaseClass::BaseClass;
b. If an inherited base-class constructor has default arguments, the line of code in Part (a) causes the compiler to generate a derived-class constructor with the same default arguments.
c. By default, each inherited constructor has the same access level (public, protected or private) as its corresponding base-class constructor.
d. If the derived class does not explicitly define constructors, the compiler generates a default constructor in the derived classeven if it inherits other constructors from its base class.

Answer

This answer is hidden. It contains 307 characters.