Tait Communications interview question

write a C function to reverse a string (e.g. turn POODLE into ELDOOP)