Hi,
What is meant by deep copy and shallow copy in case of copy constructor in C++?
The same as when just referring to an object, deep will make a copy of the object and its values, while shallow will return a reference to the memory location where the object being copied is at, and if any of the values are changed through one, they are thereby changed in the other as well.