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?

Answer Posted / srikanth kanchari

Copy constructor is created by the compiler if you dont
Create, but it does shallow Copy of the Object so there is
a need to create a copy constructor by the Developer to
make deep copy of the object.

Normally it will be

Class A
{
A();
A(A&);// copy constructor
};

Is This Answer Correct ?    19 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is abstraction and encapsulation?

948


What are the methods of exporting a function from a dll?

1156


What is the basic concept of c++?

966


What is == in programming?

979


Is set c++?

962


Show the declaration for a static function pointer.

1016


What is unary operator? List out the different operators involved in the unary operator.

948


How many types of modularization are there in c++?

1036


What are guid?

1195


What are virtual functions in c++?

1127


can inline function declare in private part of class?

4313


What is static in oop?

1028


Why do we use classes in c++?

1004


Are there any special rules about inlining?

1034


Why is main an int?

937