Domanda di colloquio di Anthology

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