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

List out some of the object-oriented methodologies?

1 Answers  


Write about the local class and mention its use?

0 Answers  


Is c++ platform dependent?

0 Answers  


Is it possible for a member function to delete the pointer, named this?

0 Answers  


Can c++ be faster than c?

0 Answers  


Explain the properties and principles of oop.

0 Answers  


What is lazy initialization in c++?

0 Answers  


What are the differences between a struct in C and in C++?

8 Answers   Amazon, Wipro,


How one would use switch in a program?

0 Answers  


What is meant by const_cast?

0 Answers  


Will the following program execute?

0 Answers  


What are static and dynamic type checking?

0 Answers  


Categories