Which error will be produced if private members are accessed?
(a) Can’t access private message
(b) Code unreachable
(c) Core dumped
(d) Bad code
I have been asked this question by my college director while I was bunking the class.
Question is taken from Private Member Functions topic in chapter Member Functions & its Types of Object Oriented Programming