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?

Answers were Sorted based on User's Feedback



What is the difference between a shallow copy and a deep copy?..

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

What is the difference between a shallow copy and a deep copy?..

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

What is the difference between a shallow copy and a deep copy?..

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

More C++ General Interview Questions

Difference between Overloading and Overriding?

35 Answers   Appnetix Techno, GameLoft, HP, IBM, NIIT, Rohde and Schwarz,


Function can be overloaded based on the parameter which is a value or a reference. Explain if the statement is true.

0 Answers  


Does c++ cost money?

0 Answers  


What is a lambda function c++?

0 Answers  


When is dynamic checking necessary?

0 Answers  


What is vectorial capacity?

0 Answers  


Write a program using shift_half( ) function to shift the elements of first half array to second half and vice versa.

0 Answers  


What is boyce codd normal form in c++?

0 Answers  


Which recursive sorting technique always makes recursive calls to sort subarrays that are about half size of the original array?

0 Answers  


Can you please explain the difference between using macro and inline functions?

0 Answers  


What is the difference between "overloading" and "overridding"?

3 Answers  


What about Virtual Destructor?

1 Answers   Virtusa,


Categories