LTIMindtree Interview Question

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