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

What is the difference between function overloading and operator overloading?

1126


What is the default width for ouputting a long integer using the insertion operator?

1257


What kind of jobs can I get with c++?

1116


Explain linear search.

1071


What does it mean to declare a member function as virtual?

1088


Write a Program to find the largest of 4 no using macros.

1088


Why do we use structure in c++?

1091


Explain rethrowing exceptions with an example?

1037


What is #include cstdlib in c++?

1194


What are the 3 levels of programming languages?

1062


Explain the difference between c++ and java.

1125


What c++ library is string in?

1064


What is a volatile variable in c++?

1488


Explain the difference between class and struct in c++?

1053


Is swift faster than go?

1111