C Program to Reverse Letter in Each Word of the Entered String


Write a C Program to Reverse Letter in Each Word of the Entered String

In this program we are going to accept a string . This program will check for word inside string and if word founds then program will reverse that word. Similarly it will reverse out all all the words.

Output :

Explanation of C Program :

Step 1 : Space Character Encountered

Store Character into Another String Variable. As soon as Space character encounters then reverse the string and print the String.