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 |
List out some of the object-oriented methodologies?
Write about the local class and mention its use?
Is c++ platform dependent?
Is it possible for a member function to delete the pointer, named this?
Can c++ be faster than c?
Explain the properties and principles of oop.
What is lazy initialization in c++?
What are the differences between a struct in C and in C++?
How one would use switch in a program?
What is meant by const_cast?
Will the following program execute?
What are static and dynamic type checking?