Answer Posted / bhavesh kashikar
#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
int a;
float rem=0,rev=0;
while(rev>=0)
{
rem=a%10;
rev=rev*10+rem;
a=a/10;
}
printf(Reverse of two digit no is:=%d",rev);
getch();
}
| Is This Answer Correct ? | 13 Yes | 4 No |
Post New Answer View All Answers
What is chain pointer in c?
What are the advantages of Macro over function?
Explain how are 16- and 32-bit numbers stored?
How can I find the modification date and time of a file?
What is the explanation for modular programming?
Is c still used?
What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }
How can I read a binary data file properly?
How is = symbol different from == symbol in c programming?
Are local variables initialized to zero by default in c?
What does the c in ctime mean?
What is a macro?
Why is it that not all header files are declared in every C program?
What does typeof return in c?
What are the two types of structure?