Question d’entretien chez HCLTech

Write a program to reverse the string.