-Here we try to reverse the string and store in another string.
string is "HEY"
reverse is :"YEH"
//input of string
printf("String in reverse order is %s",s1);
String in reverse order is gnirtsyM
-In this program, we take an input of the string and try to reverse it.
-Firstly find the length of the string.
-Then traverse string in reverse order and store each character in second string.
-At last display that string.