Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

write program for palindrome

Answer Posted / chander singh

#include<stdio.h>
#include<conio.h>
void main()
{
int r,n,k=0,l;
printf("\n\t\tENTER THE NUMBER \t");
scanf("%d",&n);
l==n;
while(n>0)
{
r=n%10;
n=n/10;
k=k*10+r;
printf("%d",r); //
}
if(r==m)
printf("\n\t\tpalindrome");
else
printf("\n\t\t not palindrome");
getch();
}

Is This Answer Correct ?    16 Yes 25 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you explicitly call a destructor on a local variable?

975


What is runtime errors c++?

1058


What are the advantages of using typedef in a program?

1100


What is data hiding c++?

993


What is a string example?

1007


How a pointer differs from a reference?

1263


What is c++ used for in games?

1093


Is swift faster than go?

1038


Describe public access specifiers?

1033


In the derived class, which data member of the base class are visible?

1066


Explain shallow copy?

992


What is exception handling? Does c++ support exception handling?

972


What is the full form of c++?

1238


What does scope resolution operator do?

1049


What is the use of setfill in c++?

1026