Create a class: Person with member variables: name and age. Create two overloaded
constructors for this class along with a copy constructor. Also create a destructor. Include
member function, get_data(), to get the name and age of the person. Define a member function,
display_data() to display the member variables. Define objects for this class and showcase the
Comments
Leave a comment