HOW TO FIND OUT THE RREVERS OF A GIVEN DIGIT NUMBER IF IT
IS INPUT THROUGH THE KEYBORD BY USING C LANGUAGE
Answer Posted / yogita
#include<stdio.h>
void main()
{
int n;
printf("enter any number");
scanf("%d",&n);
while(n>0)
{
a=n%10;
n=n/10;
pritnf("%d",a);
}
getch();
}
| Is This Answer Correct ? | 5 Yes | 3 No |
Post New Answer View All Answers
What is structure data type in c?
How do you view the path?
Explain the use of #pragma exit?
What are Macros? What are its advantages and disadvantages?
I came across some code that puts a (void) cast before each call to printf. Why?
Explain enumerated types in c language?
What is s or c?
in linking some of os executables are linking name some of them
What is calloc()?
Which is best linux os?
How can you determine the maximum value that a numeric variable can hold?
What's the difference between constant char *p and char * constant p?
Explain can static variables be declared in a header file?
What is dynamic variable in c?
#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} wat would be the output??