HCLTech Interview Question

Reverse a string using any programming language.