+ 1

C program to display the strings in reverse order

if we give Ravi Kumar it will display Kumar Ravi . if we give one two three it will display three two one.

9th Jul 2018, 4:02 PM
Saranya
Saranya - avatar
2 odpowiedzi
+ 4
Start your seach from the end of the string searching for a space. Print everything after it as your first word. Change the space to null ('\0') and repeat the process for the next word stopping when you get to the beginning of the string and your last word. Code it as best you can and link it here to get help making it work.
9th Jul 2018, 5:40 PM
John Wells
John Wells - avatar
+ 1
please any one tell the answer
9th Jul 2018, 4:24 PM
Saranya
Saranya - avatar