Answer Posted / vaibhav
#include <stdio.h>
#include<conio.h>
void main()
{
int n,t;
printf("\n enter the 2 digit no.");
scanf("%d",&n);
while(n%10>0)
{
t=n%10;
n=n/10;
printf("\n reverse no. is%d",t);
}
getch();
}
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
What is difference between class and structure?
how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.
Combinations of fibanocci prime series
What are run-time errors?
Why functions are used in c?
How many types of operators are there in c?
How can I use a preprocessorif expression to ?
application attempts to perform an operation?
write a program fibonacci series and palindrome program in c
What is the ANSI C Standard?
How is pointer initialized in c?
What is the advantage of an array over individual variables?
Why is c called c not d or e?
a sequence of bytes with one to one corrspondence to those in the external device a) sequential addressing b) address c) byte code d) none
What is difference between %d and %i in c?