What is the difference between shallow copy and deep copy?
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 |
Enter n no. of element and delete value from desire position
Why was c++ made?
What are destructors?
Why do we need constructors in c++?
Does c++ support exception handling?
What is c++ vb?
What is c++ map?
How do I write a c++ program?
Is c++ a difficult language?
Describe private, protected and public?
Which format specifier is used for printing a pointer value?
How can you link a c++ program to c functions?