why I’m not having a problem of shallow copy?
Shallow copy problem
but shallow copy problem occurs in default copy constructor which is hidden
@dhairya16,
I don’t think that’s true, shallow copy problem occurs when you explicitly try to make a copy constructor, and don’t pass the argument by reference.