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
What is dev c++ used for?
Is it possible for a member function to delete the pointer, named this?
Explain the advantages of using friend classes.
What are signs of manipulation?
What is a constant reference?
List different attributes in C++?
Can c++ do everything c can?
How should a contructor handle a failure?
What is the extension of c++?
In which header file does one find isalpha() a) conio.h b) stdio.h c) ctype.h
What language is a dll written in?
What c++ library is string in?
Differentiate between realloc() and free().
Do class method definitions?
Explain the difference between new() and malloc() in c++?