Q. What is deep copy? (Solved)
1. a deep copy creates a copy of the dynamically allocated objects too.
2. a deep copy just copies the values of the data as they are.
3. a deep copy creates a copy of the statically allocated objects too
4. both b and c above
- b. a deep copy just copies the values of the data as they are.