Google Interview Question

write a program to reverse a given string?