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 / nashiinformaticssolutions

• 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

How do you declare A pointer to function which receives an int pointer and returns a float pointer

1280


What is difference between c++ 11 and c++ 14?

1168


What is the use of 'this' pointer?

1298


What does namespace mean in c++?

1134


Why do we need constructors in c++?

1159


Is c++ a difficult language?

1204


Explain storage qualifiers in c++.

1132


What do you mean by volatile and mutable keywords used in c++?

1043


What is c++ mutable?

1164


What apps are written in c++?

1138


Explain the isa and hasa class relationships.

1098


Is it possible to have a recursive inline function in c++?

1071


What is helper in c++?

1145


Which operations are permitted on pointers?

1041


What is the use of object in c++?

1154