What is the difference between a copy constructor and an
overloaded assignment operator?
Answer Posted / vsinghal
In case of copy constructor when the object goes out of
scope its destructor will be called while in case of
assignment operator no destructor will be called.
Is This Answer Correct ? | 12 Yes | 14 No |
Post New Answer View All Answers
How is computer programming useful in real life?
Can non graphic characters be used and processed in C++?
Define pre-condition and post-condition to a member function in c++?
Explain queue. How it can be implemented?
How can you link a c++ program to c functions?
What is tellg () in c++?
Which should be more useful: the protected and public virtuals?
What is the oldest programming language?
Explain how would you handle a situation where you cannot call the destructor of a local explicitly?
What is the difference between an array and a list?
Show the declaration for a pointer to function returning long and taking an integer parameter.
Is c++ an oop?
List down the guideline that should be followed while using friend function.
What is the full form of ios?
Explain public, protected, private in c++?