How to access protected object in c++

can anyone access protected object in c++ , if yes then how to access protected object from a class??

"protected" means that the object can be accessed by that class, and by classes which inherit from that class.

Topic archived. No new replies allowed.