McqMate
| Q. |
When a copy constructor may be called? |
| A. | when an object of the class is returned by value |
| B. | when an object of the class is passed (to a function) by value as an argument |
| C. | when an object is constructed based on another object of the same class |
| D. | all |
| Answer» D. all | |
View all MCQs in
Object Oriented Programming (OOP)No comments yet