Anthology interview question

Write a program to reverse string and check is it palindrome or not?