C++ Constructors Question: Download C++ Constructors PDF

What is deep copy?

Tweet Share WhatsApp

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 PDF Read All 51 C++ Constructors Questions
Previous QuestionNext Question
What is shallow?Tell me what are the restrictions apply to constructors and destructors?