Frage im Vorstellungsgespräch bei Barclays

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