Pregunta de entrevista de Capgemini

Write a program to print string reverse without using function.