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
Write a C program to count the number of email on text
What functions are used in dynamic memory allocation in c?
How do you list a file’s date and time?
what is use of malloc and calloc?
Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon
Can you return null in c?
State the difference between x3 and x[3].
in iso what are the common technological language?
What is operator promotion?
What is the most efficient way to count the number of bits which are set in an integer?
How can you find the exact size of a data type in c?
Is Exception handling possible in c language?
is it possible to create your own header files?
Do array subscripts always start with zero?
How can you tell whether a program was compiled using c versus c++?