write program for palindrome
Answers were Sorted based on User's Feedback
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 |
When does a name clash occur?
Implement strncpy
Describe the advantages of operator overloading?
What is cloning?
What do you understand by pure virtual function? Write about its use?
If a header file is included twice by mistake in the program, will it give any error?
What is a .h file c++?
What is a multimap c++?
What are the various oops concepts in c++?
What is type of 'this' pointer?
the first character in the variable name must be an a) special symbol b) number c) alphabet
Evaulate: 22%5 a) 2 b) 4 c) 0