Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Can you be able to identify between straight- through and cross- over cable wiring? And in what case do you use straight- through and cross-over?

1101


How a macro differs from a template?

1165


Write about all the implicit member functions of a class?

1058


How do you invoke a base member function from a derived class in which you’ve overridden that function?

1105


Why the usage of pointers in C++ is not recommended ?

1430


Describe protected access specifiers?

1212


What does asterisk mean in c++?

1111


Explain what are accessor methods?

1118


What are the main features of c++?

1002


Can you please explain the difference between static and dynamic binding of functions?

1022


Is turbo c++ free?

1071


What is guard code in c++?

1167


What are iterators in c++?

1009


Is there finally in c++?

1097


What is a constant reference?

1073