How to write a C Program to Reverse a Word in C Programming Language ?
This program reverse a word.Solution For C Program:
char reverseWord ( char word ) {
char reversedWord[20];
int i = 0;
for (; i < strlen( word ); ++i ) {
reversedWord[0] = word[strlen(word) - i];
}
return reversedWord;
}