Q: Write a function that reverse the words in the sentence ,for example  "This is a string "   becomes  "string a is This".
 

A:
A straightforward solution: split the string, get pointer to each word (strtok function will work), copy words in a reverse order into another string.