What is the difference between a shallow copy and a deep copy?
Answers were Sorted based on User's Feedback
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 |
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 |
• 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 |
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.
Does c++ cost money?
What is a lambda function c++?
When is dynamic checking necessary?
What is vectorial capacity?
Write a program using shift_half( ) function to shift the elements of first half array to second half and vice versa.
What is boyce codd normal form in c++?
Which recursive sorting technique always makes recursive calls to sort subarrays that are about half size of the original array?
Can you please explain the difference between using macro and inline functions?
What is the difference between "overloading" and "overridding"?
What about Virtual Destructor?