Capgemini interview question

Write a Program reverse a String