Question: In C++ write a void function named Reverse that reverses a string and prints it on the screen using character arrays. Here are the steps:
In C++ write a void function named Reverse that reverses a string and prints it on the screen using character arrays.
Here are the steps:
a. Create an array that can hold 10 characters.
b. Get the input 10 characters from the user and store them in the array.
c. Write a loop that displays the characters in reverse order.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
