Question d’entretien chez Atos-Syntel

Reverse the string without using in-built function