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 the difference between shallow copy and deep copy?



What is the difference between shallow copy and deep copy?..

Answer / hrpynux@gmail.com

A shallow copy constructs a new compound object and then (to the extent possible) inserts references into it to the objects found in the original. A deep copy constructs a new compound object and then, recursively, inserts copies into it of the objects found in the original.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

Explain this pointer?

0 Answers  


When volatile can be used?

3 Answers   Symphony,


Mention the ways in which parameterized can be invoked.

0 Answers  


By using c++ with an example describe linked list?

0 Answers  


how is returning structurs from functions?Show an eg?

1 Answers   GE,


What does it mean to declare a member function as static?

0 Answers  


Name the debugging methods that are used to solve problems?

0 Answers  


When the constructor of a base class calls a virtual function, why doesn't the override function of the derived class gets called?

0 Answers  


Can I learn c++ in a week?

0 Answers  


What do you mean by abstraction. Explain your answer?

5 Answers  


1.what is the difference between software & package &application.

1 Answers   Infosys,


What is a hashmap c++?

0 Answers  


Categories