G
Guest
I'm trying to write a function to sort the words in a sentence. Suppose there
is only one space between words.
For example, the input string is "They are Jonny and Jone". And ideal result
is
"and are Jone Jonny They".
I know that I can get it done using existing functions. I'm thinking to
solve the problem in C language nicely. Any suggestion would be aprreciated!
Thx
is only one space between words.
For example, the input string is "They are Jonny and Jone". And ideal result
is
"and are Jone Jonny They".
I know that I can get it done using existing functions. I'm thinking to
solve the problem in C language nicely. Any suggestion would be aprreciated!
Thx