String - Reverse @ same place in C :-
how to reverse a string without changing its place in c ?
eg - input: welcome to codechef website
output: emoclew ot fehcedoc etisbew
Re: String - Reverse @ same place in C :-
I think you meant rerversing words in a string.
If words are split only by spaces the function would look like this:
|All times are GMT +5.5. The time now is 20:22.|