to find out the reverse digit of a given number
Answer Posted / vaibhav
#include<stdio.h>
#include<conio.h>
void main()
{
int no, t;
clrscr();
printf("\nenter the no.");
scanf("%d",&no);
while(no!=0)
{
t=no%10;
no=no/10;
printf("%d",t);
}
getch();
}
| Is This Answer Correct ? | 23 Yes | 9 No |
Post New Answer View All Answers
if the area was hit by a virus and so the decrease in the population because of death was x/3 and the migration from other places increased a population by 2x then annually it had so many ppl. find our the population in the starting.
What are the 5 types of organizational structures?
What is static memory allocation?
Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10
What does the c in ctime mean?
What are the back slash character constants or escape sequence charactersavailable in c?
What are the two forms of #include directive?
Why doesnt this code work?
What is void main () in c?
In C programming, what command or code can be used to determine if a number of odd or even?
What are different types of variables in c?
What are local static variables? How can you use them?
What are the features of c languages?
What are logical errors and how does it differ from syntax errors?
What is the maximum no. of arguments that can be given in a command line in C.?