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...

When copy constructor can be used?

Answer Posted / jack

while compiler encounters following situation it uses the CC
1.when assigning one object to another object of same class
type

2.When an object is passed to the called function.....

3.when a function returns the object type and assigns it to
the another object..........

Is This Answer Correct ?    18 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the uses of pointers?

1021


Can I make ios apps with c++?

988


Name the implicit member functions of a class.

1032


Does c++ support multilevel and multiple inheritances?

948


Explain the different access specifiers for the class member in c++.

936


Why do we use iterators?

1012


What is auto type c++?

1077


How do you traverse a btree in backward in-order?

979


Specify some guidelines that should be followed while overloading operators?

1134


Write a program to add three numbers in C++ utilizing classes.

1057


What is the keyword auto for?

994


What is switch case in c++ syntax?

1049


What is flush () in c++?

1035


How the programmer of a class should decide whether to declare member function or a friend function?

1064


Define a constructor?

996