Given a string, reverse the order of words in the string.
Sigiloso
for(int x=0;x<stringlength;x++stringlength--) swap(string[x],string[stringlength]); for(allwords) for(int x=0;x<wordlength;x++;worthlength--) swap(word[x],word[wordlength]); where string is the the string, swap is xor'ing macro, and word is the pointer to the first char of a word.