Q:

In copy constructor definition, if non const values are accepted only ________

0

In copy constructor definition, if non const values are accepted only ________


  1. Only const objects will be accepted
  2. Only non – const objects are accepted
  3. Only const members will not get copied
  4. Compiler generates an error

All Answers

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

 (b).Only non – const objects are accepted

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

total answers (1)

OBJECT ORIENTED PROGRAMMING - OBJECTS AND POINTERS MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
How many objects can be assigned to a single addre... >>
<< Declaring a copy constructor doesn’t suppresses ...