Question d’entretien chez Accenture

String reversal code without using inbuilt functionality.