Answers

Question and Answer:

  Home  C++ COM ActiveX

⟩ Explain shallow and deep copy?

A shallow copy just copies the values of the data as they are. Even if there is a pointer that points to dynamically allocated memory, the pointer in the copy will point to the same dynamically allocated.

 225 views

More Questions for you: