Frontline Education interview question

Write a program to reverse a string without using built-in functions.