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
Explain linked list using c++ with an example?
What are protected members in c++?
Where are setjmp and longjmp used in c++?
What do you understand by pure virtual function? Write about its use?
What is c++ manipulator?
What are the advantages of using friend classes?
what you know about c++?
What is flush programming?
How to declare a pointer to an array of integers?
If I is an integer variable, which is faster ++i or i++?
What is a forward referencing and when should it be used?
You run a shell on unix system. How would you tell which shell are you running?
How do I get good at c++ programming?
What are manipulators used for?
Is it possible for a member function to use delete this?