Microsoft interview question

Reverse all the words in a string