Pregunta de entrevista de Capgemini

Write a code to reverse a string in any programming language?