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 / guest

A copy constructor constructs a new object by using the
content of the argument object. An overloaded assignment
operator assigns the contents of an existing object to
another existing object of the same class.

Is This Answer Correct ?    44 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the real purpose of class – to export data?

1113


What is c++ map?

1166


Given the following seqment of code containing a group of nested if instructions: y = 9; if ((x==3) || (x == 5)) y++; else if (x == 2) y *= 2; else if (x == ) y-= 7; else y = 8; if the value of x is 4 before the nested IFs are executed, what is the value of y after the nested IFs are executed?

2032


Why c++ does not have finally?

1085


What it is and how it might be called (2 methods).

1186


Which should be more useful: the protected and public virtuals?

1044


How a new operator differs from the operator new?

1125


Does there exist any way to make the command line arguments available to other functions without passing them as arguments to the function?

1251


Explain virtual destructor?

1202


What is c++ similar to?

1188


Describe the advantage of an external iterator.

1042


Do class declarations end with a semicolon?

1084


Why is swift so fast?

1129


What do you mean by function and operator overloading in c++?

1054


What is exception handling? Does c++ support exception handling?

1033