Pergunta de entrevista da empresa Capgemini

Write a program to print string reverse without using function.