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

Answers were Sorted based on User's Feedback



write program for palindrome..

Answer / felix

#include<stdio.h>
#include<conio.h>
void main()
{
int n,s=0,m;
clrscr();
printf("enter any no");
scanf("%d",&n);
m=n;
while(n>0)
{
r=n%10;
s=s*10+r;
n=n/10;
}
if(m==n)
printf("the no is palindrome");
else
printf("no is not palindrome");
getch();
}

Is This Answer Correct ?    242 Yes 354 No

Post New Answer

More C++ General Interview Questions

When does a name clash occur?

1 Answers  


Implement strncpy

3 Answers  


Describe the advantages of operator overloading?

0 Answers  


What is cloning?

1 Answers  


What do you understand by pure virtual function? Write about its use?

0 Answers  


If a header file is included twice by mistake in the program, will it give any error?

0 Answers  


What is a .h file c++?

0 Answers  


What is a multimap c++?

0 Answers  


What are the various oops concepts in c++?

0 Answers  


What is type of 'this' pointer?

0 Answers  


the first character in the variable name must be an a) special symbol b) number c) alphabet

0 Answers  


Evaulate: 22%5 a) 2 b) 4 c) 0

0 Answers  


Categories