C++ Constructors Question:
Download Job Interview Questions and Answers PDF
What is deep copy?
![C++ Constructors Interview Answer C++ Constructors Interview Question](https://globalguideline.com/public/images/interview/30.png)
Answer:
A deep copy creates a copy of the dynamically allocated objects too. You would need to use a copy constructor and overload an assignment operator for this.
Download C++ Constructors Interview Questions And Answers
PDF
Previous Question | Next Question |
What is shallow? | Tell me what are the restrictions apply to constructors and destructors? |