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

What is private, public and protected inheritance?

1033


What is srand c++?

1050


What is a memory leak c++?

1061


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

1345


Explain selection sorting?

1016


What is the iunknown interface?

1074


What are the various compound assignment operators in c++?

935


What are the types of pointer?

1038


What do you mean by translation unit?

1036


What are the five basic elements of a c++ program?

1047


What do you mean by late binding?

1055


How delete [] is different from delete?

956


Why c++ does not have finally?

1020


What is #include cstdlib in c++?

1139


What is insertion sorting?

1062