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 / surya

#include<stdio.h>
#include<conio.h>
void main()
{
int n,rev=0,r;
clrscr();
printf("enter any no");
scanf("%d",&n);
m=n;
while(n>0)
{
r=n%10;
rev=rev*10+r;
n=n/10;
}
printf("reverse of the number is %d",rev);

}

Is This Answer Correct ?    14 Yes 19 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between overloading and overriding?

1199


What is a modifier in c++?

1211


Describe the advantages of operator overloading?

1081


What is c++ in english?

1120


What is atoi in c++?

1127


What is the advantage of c++ over c?

1085


What do you mean by public protected and private in c++?

1114


Can a program run without main in c++?

1288


What is c++ manipulator?

1029


What are enumerations?

1148


What is a constant? Explain with an example.

1080


What is ios flag in c++?

1275


Can I learn c++ without learning c?

1072


What is expression parser in c++

2562


What is #include iostream h in c++?

1223