Barclays interview question

Given a string, write a function in C to reverse the string in-place.