Pergunta de entrevista da empresa Barclays

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