C++ COM ActiveX Question: Download Questions PDF
Explain shallow and deep copy?
![C++ COM ActiveX Interview Answer C++ COM ActiveX Interview Question](https://globalguideline.com/public/images/interview/5.png)
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 Interview Questions And Answers
PDF
Previous Question | Next Question |
Explain object serialization? | Explain dual interfaces? |