Question: please show output as well! 1) Write a program that uses the cin method get() to read a line character by character and stores it
1) Write a program that uses the cin method get() to read a line character by character and stores it in a char array. The line is then output in reverse order. Use a pointer, not an index, to address the array elements. Incorporate a class with free store memory allocation for the array of characters that includes a function to reverse the order of the stored character array and print it to the screen and that holds the character array
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
