+ 6
What is the difference between Private and Protected in C++???
2 Answers
+ 5
protected members can be accesed by its derivative classes but private can not.
+ 2
Private members are accessible by only the members of same class but protected can be accessed in inherited classes and both can not be accessed outside the class