ActiveX Question:

Download Job Interview Questions and Answers PDF

Define shallow and deep copy?

ActiveX Interview Question
ActiveX Interview Question

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 ActiveX Interview Questions And Answers PDF

Previous QuestionNext Question
Explain STL, standard template library?Define ActiveX and OLE?