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 'Copy Constructor' and when it is called?



What is 'Copy Constructor' and when it is called?..

Answer / hrpynux@gmail.com

A copy constructor is called when an object is passed by value. Copy constructor itself is a function. So if we pass an argument by value in a copy constructor, a call to copy constructor would be made to call copy constructor which becomes a non-terminating chain of calls.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

Explain what are the sizes and ranges of the basic c++ data types?

0 Answers  


What is the meaning of string in c++?

0 Answers  


What is a v-table?

0 Answers  


What is the use of "new" operator?

0 Answers  


what are prototypes

4 Answers   Infosys, TCS,


C is to C++ as 1 is to a) What the heck b) 2 c) 10

0 Answers  


What is the main purpose of overloading operators?

0 Answers  


What is command line arguments in C++? What are its uses? Where we have to use this?

0 Answers   HCL,


What are the storage qualifiers?

0 Answers  


Define what is constructor?

0 Answers  


Explain the purpose of the keyword volatile.

0 Answers  


What are the debugging methods you use when came across a problem?

1 Answers  


Categories