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
How can I do serial ("comm") port I/O?
How can a string be converted to a number?
In C language, a variable name cannot contain?
What is function pointer c?
Which built-in library function can be used to match a patter from the string?
Wt are the Buses in C Language
Explain function?
List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.
How do I use strcmp?
What is zero based addressing?
Explain what is the benefit of using #define to declare a constant?
Why is C language being considered a middle level language?
Write a program of prime number using recursion.
What are the different types of linkage exist in c?
Why c is called a middle level language?