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.
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
You must be logged in to post a comment.