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

int a,n,s,x=0;
a=n;
while(n>0)
{
s=n%10;
x=x*10+s;
n=n/10;
}
if(a=n)
printf("palindrome");
else
printf("not palindrome");

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is dev c++ used for?

1050


Is it possible for a member function to delete the pointer, named this?

1176


Explain the advantages of using friend classes.

1180


What are signs of manipulation?

1070


What is a constant reference?

1086


List different attributes in C++?

1106


Can c++ do everything c can?

1098


How should a contructor handle a failure?

1205


What is the extension of c++?

995


In which header file does one find isalpha() a) conio.h b) stdio.h c) ctype.h

1215


What language is a dll written in?

1030


What c++ library is string in?

1064


Differentiate between realloc() and free().

1064


Do class method definitions?

1058


Explain the difference between new() and malloc() in c++?

1143