C++ Access Control Question:

Explain access specifier protected?

C++ Access Control Interview Question
C++ Access Control Interview Question

Answer:

The protected members can be access from member functions of the same class or friend classes or from the members of their immediate derived class.


Previous QuestionNext Question
Explain access specifier private?Explain access specifier Public?