Which access specifier is used where one wants data members to be accessed by other classes but not from outside objects?
(a) private
(b) protected
(c) public
(d) both protected and public
This question was posed to me in quiz.
Enquiry is from Access Control in division Class Hierarchies, Library & Containers of C++