Question 1:
Assume the array of char pointers char * arr[4] and the user prompted to enter the values from the keyboard.
Write a function to reverse the array.
Write a function to reverse a selected line.
Write a function to print the most repeated character in the array.
Write a function that returns a string of all vowel characters in the array.
Sample input:
welcome to c++I see the power of pointers work hard. Good Luck.
Please enter a line number: 3
Sample Output:
Reversed array: Good Luck. work hard. see the power of pointers, welcome to c++I.
Reversed a selected line: Before work hard. After: draw krow.
The most repeated character is:
String of all vowel characters: eoeoeeoeuooieoaoou.