Just wodering C code for reversing a sentence. I searched at this board but could not find it. Anybody knows where else can I find it?

For example.
If I input,

change is truth of life

output should be

life of truth is change

Please let me know.