Domanda di colloquio di Capgemini

Write a program to print string reverse without using function.