Pregunta de entrevista de EchoStar

Write an algorithm that would reverse the characters of a char array.