Question d’entretien chez LTM Limited

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