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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!