Infosys Interview Question

Q: How can you reverse a string.