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 |
Which function should be used to free the memory allocated by calloc()?
What are the c++ access specifiers?
Is sorted c++?
What do you understand by pure virtual function? Write about its use?
Where Malloc(), Calloc(), and realloc() does get memory?
What is the full form of india?
int f() { int I = 12; int &r = I; r += r / 4; int *p = &r; *p += r; return I; } Referring to the sample code above, what is the return value of the function "f()"? a) 12 b) 15 c) 24 d) 17 e) 30
What is fixed in c++?
What is prototype for that c string function?
What kind of problems can be solved by a namespace?
Is java made in c++?
Explain terminate() and unexpected() function?