Vidyalelo
C++ Programming · Q20

Classes and Objects in C++

Programming · C++ Programming · question 20

Q20

Which access specifier allows members of a class to be accessed only by the derived classes in C++?

A.
public
B.
protected
Answer
C.
friend
D.
None of the above

Answer: Option B

Solution

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