Pregunta de entrevista de Barclays

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