Atos-Syntel interview question

Reverse the string without using in-built function