Question: 20 pts) Write a C program reverse.c. Follow the exact definition of the prototype given below to implement the function. void reverse (char* label) The
20 pts) Write a C program reverse.c. Follow the exact definition of the prototype given below to implement the function.
void reverse (char* label)
The function reverse() accepts a string and reverses the order of the characters in the string. For example, when called with a string "hello", the string changes to "olleh". You must reverse the string by switching characters in places. You may not create a second character array to reverse the string.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
