Jun 19, 2019 in C Plus Plus
Q:

Distinguish between shallow copy and deep copy.

1 Answer

0 votes
Jun 19, 2019

Shallow copy does memory dumping bit-by-bit from one object to another. Deep copy is copy field by field from object to another. Deep copy is achieved using copy constructor and or overloading assignment operator.

Click here to read more about Loan/Mortgage
Click here to read more about Insurance

Related questions

0 votes
Jun 11, 2020 in C Plus Plus
...