Vidyalelo
C++ Programming · Q37

Inheritance in C++

Programming · C++ Programming · question 37

Q37

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
Answer
D.
public

Answer: Option C

Solution

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