C++ COM ActiveX Question:

Explain shallow and deep copy?

Tweet Share WhatsApp

Answer:

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.

Download C++ COM ActiveX PDF Read All 22 C++ COM ActiveX Questions
Previous QuestionNext Question
Explain object serialization?Explain dual interfaces?