yes, concept of shallow and deep copy causes issues when we are new to the language. Even when using copy constructors as an, the issues repeat.
Separate names with a comma.