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 is array within structure?
When is the “void” keyword used in a function?
Why is event driven programming or procedural programming, better within specific scenario?
Why do we use null pointer?
What does malloc () calloc () realloc () free () do?
Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?
Explain data types & how many data types supported by c?
What does return 1 means in c?
What is a null string in c?
hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..
Explain what are the different data types in c?
Write a program to check palindrome number in c programming?
where are auto variables stored? What are the characteristics of an auto variable?
why do some people write if(0 == x) instead of if(x == 0)?
What are file streams?