Question: ( must be In C Program ) Write a function with a string argument, that replaces the contents of the string with the string in
( must be In C Program )
Write a function with a string argument, that replaces the contents of the string with the string in
reverse order. The function prototype is as follows,
void reverse(char str[]);
Test the function in a simple program. An example run of the program look like this,
Enter a string: Go Raptors! The string in reverse order is: !srotpaR oG
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
