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 is c++ & why it is used?
write a porgram in c++ that reads an integer and print the biggest digit in the number
Define whitespace in C++.
What is the two main roles of operating system?
What does the linker do?
If a function doesn’t return a value, how do you declare the function?
What is iterator in c++?
Explain register storage specifier.
What is c++ namespace?
Do vectors start at 0 c++?
What is ios flag in c++?
what is the difference between overloading & overriding? give example.
Distinguish between new and malloc and delete and free().
Can notepad ++ run c++?
What is the difference between #import and #include?