Interviewer And Interviewee Guide

C++ COM ActiveX Interview Question:

Explain shallow and deep copy?

Submitted by: Murtaza
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.
Submitted by: Murtaza

Read Online C++ COM ActiveX Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.