Question d’entretien chez Nabla Infotech

Write a code to reverse a string.