Bloomberg interview question

Reverse a string (in-place), given the input as follows: void ReverseString( char *str ){ /*meat*/ }