Similar to the classic reverseString and reverseWords questions, this variation is to write a function that will reverse a string by words. For example, calling the function with the string “reverse this string by words” would return the string as “words by string this reverse”.
void reverseStringbyWords(char *aString)
{
{
1 Comment so far
Leave a comment
good one
By amir on 10.09.07 12:22 pm | Permalink
Leave a comment
If you are including code in your comment, place it within a <div class='code'></div> tag for better formatting.