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

Inline parameters : What does the compiler do with the parameters of inline function, that can be evaluated in runtime ?

2453


What is the basic structure of c++ program?

1036


Which c++ compiler is best?

1098


What is the use of c++ programming language in real life?

981


Difference between overloaded functions and overridden functions

1005


What is the header file for setw?

1061


What is type of 'this' pointer?

1010


When do we run a shell in the unix system? How will you tell which shell you are running?

919


Which one between if-else and switch is more efficient?

1016


How to declare a pointer to an array of integers?

1076


What are the uses of typedef in a program?

1033


int age=35; if(age>80) {Console.WriteLine("Boy you are old");} else {Console.WrieLine("That is a good age");}

1209


In which situation the program terminates before reaching the breakpoint set by the user at the beginning of the mainq method?

1019


Is nan a c++?

1092


What is different in C++, compare with unix?

1022