C Program to check number is palindrome

/* Before moving towards the program, a little introduction to the one who dose not know what is palindrome. A palindrome is a word, phrase, number, or other sequence of symbols or elements, whose meaning may be interpreted the same way in either forward or reverse direction i.e if we look from the backwards or from the front , they look same. Here are some examples that will help you to understand it better. Ex:  12321 , 676, nitin, madam, arora etc. No we move ahead to program to check whether a number is Palindrome or not palindrome */




void main()


   int n,digit, n1,rev=0;


   printf(“Enter the Any Integer No: “);





      digit = n%10;




   if (rev==n1)

      printf(“%d number is Palindrome “,n1);


      printf(“%d number is Not Palindrome “,n1);



Mohit Arora
Follow me