Dayal Group interview question

Reverse a String without using functions