Q. What is shallow copy?
- A. A shallow copy creates a copy of the dynamically allocated objects too
- B. A shallow copy just copies the values of the data as they are
- C. A shallow copy creates a copy of the statically allocated objects too
- D. Both b and c above
Correct Answer: B