Q:

Which error will be produced if private members are accessed?

0

Which error will be produced if private members are accessed?


  1. Can’t access private message
  2. Code unreachable
  3. Core dumped
  4. Bad code

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

 (a).Can’t access private message

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

OBJECT ORIENTED PROGRAMMING MEMBER FUNCTIONS MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
Can main() function be made private?... >>
<< A private function of a derived class can be acces...