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 |
Differentiate between structure and class in c++.
Explain the difference between abstract class and interface in c++?
How to defines the function in c++?
Difference between pass by value and pass by reference?
what is the size of a class which contains no member variables but has two objects??? is it 1 or 2??
What is data structure in c++?
State the difference between pre and post increment/decrement operations.
What is the Diffrence between a "assignment operator" and a "copy constructor"?
why all c++ program must have default constructor?
Why struct is used in c++?
why can't we declare data member of class auto register or extern
Is swift faster than go?