Copy Constructor « Class « C++






1.A copy constructor to allow StringClass objects to be passed to functions.
2.Demonstrating that class objects can be assigned to each other using default memberwise copy
3.copy constructor: X(X&)