Question d’entretien chez LTIMindtree

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