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 do you mean by dynamic memory allocation in c? What functions are used?
How do I send escape sequences to control a terminal or other device?
What is void main () in c?
What does the message "automatic aggregate intialization is an ansi feature" mean?
To print the pattern 1 2 3 4 5 10 17 18 19 6 15 24 25 20 7 14 23 22 21 8 13 12 11 10 9
What is LINKED LIST? How can you access the last element in a linked list?
Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result
An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?
What are the standard predefined macros?
What do you mean by dynamic memory allocation in c?
What is chain pointer in c?
What is .obj file in c?
What is table lookup in c?
please can any one suggest me best useful video tutorials on c i am science graduate.please help me.u can email me to sas29@in.com
What are operators in c?