C program to reverse a string

C program to reverse a string

Output:

Enter the string to reverse: www.coderegister.co.in
ni.oc.retsigeredoc.www

Implementation: