Zoho interview question

Reverse a string without using built-in functions.