Create a class STR having character array, ‘string’, as data member.

a) Create a class STR having character array, ‘string’, as data member. Define a constructor and two member functions for the class to input and display the character array, respectively.

Leave a Reply