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?

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


Please Help Members By Posting Answers For Below Questions

What are signs of manipulation?

1016


What is c++ coding?

1133


What is virtual destructor? What is its use?

1009


If dog is a friend of boy, is boy a friend of dog?

930


How do we balance an AVL Tree in C++?

1088


How is c++ different from java?

998


What is the use of endl?

921


What is flush c++?

923


What is the advantage of c++ over c?

969


What is heap sort in c++?

1022


What is the difference between public and private data members?

1121


Can I learn c++ without learning c?

951


What are the benefits of pointers?

990


Does there exist any other function which can be used to convert an integer or a float to a string?

1031


What do you mean by enumerated data type?

1004