ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
While returning an object, we can use ____________
Correct Answer: A — Copy constructor
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.