EchoStar Interview Question

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