C++ Programmer Question: Download Questions PDF
Explain what is the role of protected access specifier?
Answer:
If a class member is protected then it is accessible in the inherited class. However, outside the both the private and protected members are not accessible.
Download C++ Programmer Interview Questions And Answers
PDF
Previous Question | Next Question |
Please explain what is a reference variable in C++? | Tell me what is this pointer? |