to find out the reverse digit of a given number
Answer Posted / srinath, hyd
#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 ? | 10 Yes | 11 No |
Post New Answer View All Answers
What are the storage classes in C?
What is new line escape sequence?
What is pointer in c?
What is the heap in c?
Which is the memory area not included in C program? give the reason
Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?
How can you tell whether a program was compiled using c versus c++?
What do header files do?
How can this be legal c?
Is c pass by value or reference?
Explain what are run-time errors?
Do you know what are the properties of union in c?
What is a macro in c preprocessor?
How can I discover how many arguments a function was actually called with?
What is oops c?