Accenture interview question

Write a program to Reverse a string.