While returning an object, we can use ____________
Copy constructor
Default constructor
Parameterized constructor
Zero argument constructor
View Answer
Correct Answer: A — Copy constructor
Explanation:
While returning an object we can use the copy constructor. When we assign the return value to another object of same class then this copy constructor will be used. And all the members will be assigned the same values as that of the object being returned.
