InterviewSolution
Saved Bookmarks
| 1. |
How Does A Copy Constructor Differs From An Overloaded Assignment Operator? |
|
Answer» A copy constructor USES the VALUE of an argument to construct a new object. We can use an overload assignment operator to assign the value of an existing object of the same CLASS to ANOTHER existing object in that class. A copy constructor uses the value of an argument to construct a new object. We can use an overload assignment operator to assign the value of an existing object of the same class to another existing object in that class. |
|