Check the Given Number / String is Palindrome or Not using C program / Code
The is common program will be asked to write program for Palindrome in C or to Check the Given String string is palindrome or not, or to check the given number is palindrome or not. As we know if the Given string and reversed string are same then the String or number is a palindrome number eg: 121, madam, malayalam, liril so on. These string can't change after you reverse it. So we can say these are the palindrome. Here I write a C Program to check whether the given input is palindrome or not. Here the example code / program.
//C Source code for palindrome
l=strlen(s);//Length of a String
printf("\n The given input is not a Palindrome");
printf("\n The Given Input is Palindrome");