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 a "Copy Constructor"?

Answer Posted / hrpynux@gmail.com

In the C++ programming language, a copy constructor is a special constructor for creating a new object as a copy of an existing object.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how the virtual base class is different from the conventional base classes of the opps.

1171


What problems might the following macro bring to the application?

1057


How is c++ different from java?

1046


When should overload new operator on a global basis or a class basis?

1081


Which compiler does turbo c++ use?

1082


When do we use copy constructors?

1085


Incase of a function declaration, what is extern means?

975


How do you sort a sort function in c++ to sort in descending order?

998


Which is the best c++ compiler for beginners?

1100


Do class declarations end with a semicolon? Do class method definitions?

1151


Is multimap sorted c++?

1008


What are libraries in c++?

1071


How would you implement a substr() function that extracts a sub string from a given string?

1048


What are multiple inheritances (virtual inheritance)? What are its advantages and disadvantages?

1058


What are the basics of local (auto) objects?

1146