C++ Programming Question: Download Questions PDF
What is the difference between a copy constructor and an overloaded assignment operator?
![C++ Programming Interview Answer C++ Programming Interview Question](https://globalguideline.com/public/images/interview/24.png)
Answer:
A copy constructor constructs a new object by using the content of the argument object. An overloaded assignment operator assigns the contents of an existing object to another existing object of the same class.
Download C++ Programming Interview Questions And Answers
PDF
Previous Question | Next Question |
What is a conversion constructor C++? | When should you use multiple inheritance? |