x

C program to reverse given string

You can use below C program to reversing a string. If you want to get input string from user, please use scanf and printf in below program.



 

 

Output:

String before strrev( ) : Hello

String after strrev( ) : olleH



Like it? Please Spread the word!