Pergunta de entrevista da empresa LTIMindtree

They asked me to write a program to reverse a string without using built in function ?