C program to Check the number is Palindrome
C program for how to check the given number is Palindrome
Posted on 27 Jul 2018 Category: C
C program to Check a Number is Palindrome or Not
This program reverses an integer entered by the user using for loop. Then, if statement is used to check whether the reversed number is equal to the original number or not. If it is equal, then the entered number is palindrome.
printf("Enter a number: ");
printf("The number %d is a palindrome",temp);
printf("%d is not a palindrome",temp);