Write a c program to read a string and check whether it is palindrome or not