Answer Posted / .::get lost::.
#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 ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is the use of volatile?
What happens if a header file is included twice?
When should you use a type cast?
pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)
How many levels of indirection in pointers can you have in a single declaration?
Are negative numbers true in c?
What is the difference between if else and switchstatement
What are the different file extensions involved when programming in C?
What is malloc and calloc?
What is New modifiers?
define string ?
Explain how can I prevent another program from modifying part of a file that I am modifying?
What is the value of a[3] if integer a[] = {5,4,3,2,1}?
how to find binary of number?
what is the significance of static storage class specifier?