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 a shallow copy and a deep copy?

Answer Posted / hr@tgksolutions.com

• Shallow Copy: Copies memory addresses. Changes in one object affect the other.
• Deep Copy: Creates a new copy of the actual data, independent of 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

Can non-public members of another instance of the class be retrieved by the method of the same class?

1075


Explain this pointer?

1067


What are the advantages of c++? Explain

1060


How do I run c++?

1066


What do you mean by inheritance in c++?

1099


What is & in c++ function?

1060


Can we use clrscr in c++?

1079


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

1033


Is c++ faster than c?

1018


What are c++ files?

1139


Is c++ a good first language to learn?

1065


What is the purpose of templates in c++?

1037


What is general form of pure virtual function? Explain?

996


What is the type of 'this' pointer?

1016


What are references in c++?

1138