Examveda

In C++, which access specifier allows the members of a base class to be accessible in the derived class, its derived classes, but not from outside the class hierarchy?

A. friend

B. private

C. protected

D. public

Answer: Option C


Join The Discussion

Related Questions on Inheritance in C plus plus