Question d’entretien chez EchoStar

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