HCLTech interview question

Reverse a string using any programming language.