Answer Posted / selvakumar
#include<stdio.h>
#include<conio.h>
void main()
{
int n,a,b=0,c;
printf("\nEnter any number : ");
scanf("%d",&n);
c=n;
while(n!=0)
{
a = n%10;
b = (b*10)+a;
n = n/10;
}
if(b==c)
printf("\nPalindrome no");
else
printf("\nNot a palindrome no");
printf("\nReverse of the number is %d",b);
getch();
}
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell
What is the acronym for ansi?
What is the value of uninitialized variable in c?
c program to compute AREA under integral
What language is windows 1.0 written?
How many header files are in c?
write a progrmm in c language take user interface generate table using for loop?
When a c file is executed there are many files that are automatically opened what are they files?
Explain how do you override a defined macro?
When c language was developed?
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. 2) the Event Manager has to send participants to the stage to perform in the order in which they registered. Write a program that will help the Event Manager know who to call to the stage to perform. The Logic should be in Data Structures
What do you understand by normalization of pointers?
What is echo in c programming?
What are the features of c language?
What is the use of structure padding in c?