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

What is a .h file c++?

0 Answers  


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

0 Answers  


Can I create my own functions in c++?

0 Answers  


What is scope in c++ with example?

0 Answers  


What is the difference between the functions memmove() and memcpy()?

0 Answers  


Can we get the value of ios format flags?

0 Answers  


Explain how overloading takes place in c++?

0 Answers  


What is problem with Runtime type identification?

2 Answers  


What is the difference in size of this two clasees? Class A { int a; char c; float f; } Class B { float f; char c; int a; }

4 Answers  


What is the use of the this pointer?

3 Answers  


write a program that takes two numbers from user that prints the smallest number

2 Answers  


What is the difference between an array and a list?

0 Answers  


Categories