Question d’entretien chez Capgemini

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