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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Which programming language is best?

987


Is there structure in c++?

1029


What are c++ storage classes?

1100


What is c++ code?

1124


Explain what you mean by a pointer.

1104


Why iomanip is used in c++?

1127


Explain linear search.

1061


What is #include iostream in c++?

1056


What things would you remember while making an interface?

1004


How can an improvement in the quality of software be done by try/catch/throw?

1067


What are dynamic type checking?

1041


How does work in c++?

1076


Can you please explain the difference between using macro and inline functions?

1043


Describe the process of creation and destruction of a derived class object?

1117


What is the array and initializing arrays in c++?

1030