Wipro interview question

A string based simple program: palindrome