Can pointers to object access the private members of the class?
(a) Yes, always
(b) Yes, only if it is only pointer to object
(c) No, because objects can be referenced from another objects too
(d) No, never
I had been asked this question in homework.
The query is from Pointer to Objects topic in section Assigning Object, Pointer to Objects, Passing and Returning Object of Object Oriented Programming