The automated copy constructor simply copies all of the member variables from the local variable to the return location if a copy constructor is not given.
The automated copy constructor is a great tool if you want to quickly copy all of the member variables from one object to another. However, if you want to initialize the variables in the new object differently, you'll need to create a custom copy constructor.
https://brainly.com/question/20734432
#SPJ4