C++ Access Control Question:
Download Questions PDF

Explain access specifier protected?


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.

Download C++ Access Control Interview Questions And Answers PDF

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