C++ Access Control Question: Download C++ Access Control PDF

Explain access specifier protected?

Tweet Share WhatsApp

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.

Download C++ Access Control PDF Read All 31 C++ Access Control Questions
Previous QuestionNext Question
Explain access specifier private?Explain access specifier Public?