Nextpoint interview question

Reverse a string without using any in-built function