Q:

If a const object calls a non-const member function then ____________________

0

If a const object calls a non-const member function then ____________________


  1. Run time error may get produced
  2. Compile time error may get produced
  3. Either compile time or run time error is produced
  4. The program can’t be compiled

All Answers

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

 (b).Compile time error may get produced

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 a constructor function be constant?... >>
<< Which is a correct condition on const member funct...