C program to reverse given string

You can use below C program for 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


Share this website !!!
Facebook Twitter Linkedin