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
What are multibyte characters?
What is meant by 'bit masking'?
What are actual arguments?
What does 1f stand for?
Why do we use return in c?
What is console in c language?
What is %g in c?
What does char * * argv mean in c?
How are 16- and 32-bit numbers stored?
What is calloc malloc realloc in c?
Are global variables static in c?
Can math operations be performed on a void pointer?
Why & is used in c?
what are the 10 different models of writing an addition program in C language?
Differentiate Source Codes from Object Codes