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

Copy Linked List using recursive function?

2 Answers   Persistent,


What is bubble sort c++?

0 Answers  


What data encapsulation is in c++?

0 Answers  


Why we use #include iostream in c++?

0 Answers  


How to write Multithreaded applications using C++?

2 Answers   Honeywell, TCS, Wipro,


What is pure virtual function?

0 Answers  


How do you declare A pointer to function which receives an int pointer and returns a float pointer

0 Answers  


What does the following code do: int c=0; cout< a) Undefined *Updated* b) 01 c) 00

0 Answers  


What is scope in c++ with example?

0 Answers  


What are static variables?

0 Answers  


What is a custom exception?

1 Answers  


What do you mean by public protected and private in c++?

0 Answers  


Categories