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

How does a C++ structure differ from a C++ class?

1080


What is the main purpose of c++?

1026


Can a list of string be stored within a two dimensional array?

969


Can I make ios apps with c++?

996


Is empty stack c++?

948


Write a program using display() function which takes two arguments.

1022


What are arithmetic operators?

949


What is an iterator?

1150


Is c the same as c++?

963


What does n mean in c++?

1087


What does the nocreate and noreplace flag ensure when they are used for opening a file?

1071


What is abstraction in c++?

1295


Why should we use null or zero in a program?

988


What is c++ library?

1000


What is the difference between a "copy constructor" and an "assignment operator" in C++?

1036