![Mcqmate logo](https://mcqmate.com/images/logos/logo-black.png)
![Mcqmate logo](https://mcqmate.com/images/logos/logo-white.png)
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 of the above |
Answer» D. All of the above |
View all MCQs in
CPP ProgrammingNo comments yet