Ingram Micro interview question

To write a program to reverse a string.