Program to reverse a given word(String) using function.
Example:-
INDIA should be printed as AIDNI.
Complete the program to print the string in reverse order using the given function prototype:
Function Prototype:- void reverse(char[], int, int);
Input should be a String or word.
Output Statement:- printf("The string after reversing is: %s\n", str1);