Write a C program to check a given string is palindrome or not