What is the difference between a copy constructor and an
overloaded assignment operator?
Answer Posted / guest
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.
| Is This Answer Correct ? | 44 Yes | 12 No |
Post New Answer View All Answers
what are the iterator and generic algorithms.
What do you mean by friend class & friend function in c++?
Is the declaration of a class its interface or its implementation?
Which is most difficult programming language?
What is the purpose of the "delete" operator?
What is the main purpose of c++?
By using c++ with an example describe linked list?
Why do we use using namespace std in c++?
Will this c++ program execute or not?
How the memory management in vectors are being done. What happens when the heap memory is full, and how do you handle it ?
What is a flag in c++?
What is an operator function? Describe the function of an operator function?
When should I use unitbuf flag?
What is different in C++, compare with unix?
What are features of c++?