ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
Can pointers to object access the private members of the class?
Correct Answer: C — No, never
The pointers to an object can never access the private members of the class outside the class. The object can indirectly use those private members using member functions which are public in the class.