Examveda

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: Option D


Join The Discussion

Related Questions on Constructors and Destructors in C plus plus