Advertisements
Advertisements
Question
Copy constructor copies functions from one object to another.
Options
True
False
MCQ
True or False
Solution
This statement is False.
Explanation:
A copy constructor transfers data members (attributes), not functions, from one object to another of the same class. It creates a new object by copying its state (variable values) from an existing object.
shaalaa.com
Is there an error in this question or solution?