OSI Digital Interview Question

write a program to reverse the string?