Frage im Vorstellungsgespräch bei LTIMindtree

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