/*C Program To Find Whether the Given Number is Palindrome or Not*/ 

#include<stdio.h>

#include<conio.h>

void main()

{
int n,m,x,r;

clrscr();

printf(“\nEnter a number: “);

scanf(“%d”,&n);

m=n;

while(n>0)

{

r=n%10; 

x=x*10+r; 

n=n/10;

}

if(m==x)

printf(“\nPalindrome”);

else

printf(“\nNot a Palindrome”);

getch();

}

71,351 total views, 34 views today

Get Free Email Updates..!
Join us for FREE to get instant email updates..! GobsInfo- Everything Unlimited
We hate spam. Your email address will not be sold or shared with anyone else.

4,792 Thoughts to “C Program To Find Whether the Given Number is Palindrome or Not”

  1. Keep these simple areas to consider at heart and also you’ll be able
    to purchase the right treadmill for yourself.

    These machines are built and so the unit anticipates your
    wished as opposed to you being forced too concern yourself
    with what the elliptical demands. If you are looking
    for that ideal figure out device then you certainly ought to choose a fitness bike.

Leave a Comment