Vidyalelo
C++ Programming · Q63

Constructors and Destructors in C++

Programming · C++ Programming · question 63

Q63

When a copy constructor is called?

A.
When an object of the class is returned by value
B.
When an object of the class is passed by value to a function
C.
When an object is constructed based on another object of the same class
D.
All of the mentioned
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board