Allscripts interview question

Wap to reverse a string in any language