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 the rules for identifiers in c?
Do you know what are bitwise shift operators in c programming?
hw can we delete an internal node of binary search tree the internal node has child node..plz write progarm
What is an endless loop?
Explain what is meant by 'bit masking'?
how to make a scientific calculater ?
Explain what is the difference between a string and an array?
Where are local variables stored in c?
What is null pointer in c?
If null and 0 are equivalent as null pointer constants, which should I use?
What are types of preprocessor in c?
Which is best book for data structures in c?
application areas a 'c' a) operating system b) graphics, interpreter, assembler c) program evalution, communication softwares d) all the above
Who developed c language and when?
Explain heap and queue.