HOW TO FIND OUT THE RREVERS OF A GIVEN DIGIT NUMBER IF IT
IS INPUT THROUGH THE KEYBORD BY USING C LANGUAGE
Answer Posted / audumbar
#include<stdio.h>
main()
{
int n;
printf("\n enter the number");
scanf("%d",&n);
while(n!=0)
{
int a=n%10;
printf("%d",a);
n=n/10;
}
}
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How to throw some light on the b tree?
What are structure members?
Here is a neat trick for checking whether two strings are equal
What are variables c?
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
What is structure in c definition?
int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above
Is null valid for pointers to functions?
Which programming language is best for getting job 2020?
What is use of integral promotions in c?
Tell me about low level programming languages.
What does *p++ do? What does it point to?
Write a program to use switch statement.
What is the difference between single charater constant and string constant?
What could possibly be the problem if a valid function name such as tolower() is being reported by the C compiler as undefined?