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

• 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

What is the most powerful coding language?

1102


In the derived class, which data member of the base class are visible?

1161


Write about all the implicit member functions of a class?

1118


Show the declaration for a static member variable.

1046


What is microsoft c++ redistributable?

1145


How does list r; differs from list r();?

1194


Is c++ low level?

1071


Is c++ a low level language?

1017


Is map ordered c++?

1143


If you push the numbers (in order) 1, 3, and 5 onto a stack, which pops out first a) 1 b) 5 c) 3

1427


When does the c++ compiler create temporary variables?

1082


What are the advantages of c++ over c?

1134


We use library functions in the program, in what form they are provided to the program?

1144


Differentiate between realloc() and free().

1098


What is the word you will use when defining a function in base class to allow this function to be a polimorphic function?

1223