svc++: 10-12.copyctor: Demo default copy constructor problem with pass-by-value:
- Function using pass-by-value.
- Default constructor is used to copy the original object of a class which has dynamically allocated member variable.
- When the function ends, the destructor of the temp object is called, destroying the original object.