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 encapsulation in c++ with example?
What is meant by the term name mangling in c++?
Why is polymorphism useful?
Which bit wise operator is suitable for checking whether a particular bit is on or off?
what is C++ objects?
In a function declaration, what does extern mean?
total amount of milk produced each morning and then calculates and outputs the number of cartons needed for this milk , the cost of producing the milk and the profit from producing this milk.
What are activex and ole?
Can c++ do everything c can?
Explain the scope of resolution operator.
Write a program to find the reverse Fibonacci series starting from N.
Briefly describe a B+ tree. What is bulk loading in it?
What is singleton class in c++?
What data structure is fastest, on average, for retrieving data: a) Binary Tree b) Hash Table c) Stack
Can I learn c++ without c?