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 |
What is a .h file c++?
How do you declare A pointer to function which receives an int pointer and returns a float pointer
Can I create my own functions in c++?
What is scope in c++ with example?
What is the difference between the functions memmove() and memcpy()?
Can we get the value of ios format flags?
Explain how overloading takes place in c++?
What is problem with Runtime type identification?
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; }
What is the use of the this pointer?
write a program that takes two numbers from user that prints the smallest number
What is the difference between an array and a list?