TATA ELXSI Interview Question

write a C program to check whether a string is palindrome or not?