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
Explain can the sizeof operator be used to tell the size of an array passed to a function?
Can we declare variables anywhere in c?
What is difference between Structure and Unions?
What is typeof in c?
What would happen to X in this expression: X += 15; (assuming the value of X is 5)
Does c have circular shift operators?
What is a pointer variable in c language?
Explain About fork()?
Write a program to print numbers from 1 to 100 without using loop in c?
What are the two types of structure?
What does it mean when a pointer is used in an if statement?
Is c is a low level language?
What is #line?
What is an example of structure?
What is the function of volatile in c language?