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
Explain what is the difference between a string and an array?
What is unsigned int in c?
Why n++ execute faster than n+1 ?
Write a c program to demonstrate character and string constants?
I need testPalindrome and removeSpace
#include
What is use of integral promotions in c?
Tell me what is null pointer in c?
Explain logical errors? Compare with syntax errors.
Is there sort function in c?
a way in which a pointer stores the address of a pointer which stores the value of the target value a) reference b) allocation c) multiple indirection d) none
Is there a way to switch on strings?
What is derived datatype in c?
What is the difference between exit() and _exit() function?
What are the 5 organizational structures?
Why isn't any of this standardized in c? Any real program has to do some of these things.