Domanda di colloquio di Atos

Reverse a string without using inbuilt method and without printing it in backward direction.