iEnergizer interview question

Wap to reverse a string without using predefinwd function.