Cognizant interview question

write a c program for palindrome of string.