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 does catch(…) mean?
How do you generate a random number in c++?
Explain the use of this pointer?
declare an array of structure where the members of the structure are integer variable float variable integer array char variable access all elements of the structure using dot operator and this pointer operator
What is the use of default constructor?
What is == in programming?
Types of storage and scope of each type
Suppose that data is an array of 1000 integers. Write a single function call that will sort the 100 elements data [222] through data [321].
Show the declaration for a pointer to function returning long and taking an integer parameter.
How to avoid changing constant values?
What is rtti in c++?
What C++ libraries are you proficient with?