Answer Posted / ashok
#include<stdio.h>
#include<conio.h>
void main();
int a;
clrscr();
float rem=0,rev=0;
while(rev>=0)
{
rem=a%10;
rev=rev+rem;
a=a/10;
}
printf(Reverse of two digit no is:=%d",rev);
getch();
}
| Is This Answer Correct ? | 21 Yes | 10 No |
Post New Answer View All Answers
What does void main () mean?
Write a program with dynamically allocation of variable.
What is function prototype in c language?
Here is a neat trick for checking whether two strings are equal
Explain what is the advantage of a random access file?
can anyone please tell about the nested interrupts?
How do you convert strings to numbers in C?
Why do we use namespace feature?
What is the difference between array and linked list in c?
Explain what is the benefit of using #define to declare a constant?
What is cohesion in c?
How do I use strcmp?
What tq means in chat?
What is memory leak in c?
What is the description for syntax errors?