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.
Create a class STR having character array, ‘string’, as data member.
in C and CPP