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 can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.
What is #include cctype?
Explain what is meant by 'bit masking'?
What is the size of structure pointer in c?
Explain modulus operator.
Explain null pointer.
What is a static variable in c?
What are the advantage of c language?
What is the best style for code layout in c?
Explain the red-black trees?
What is the scope of static variables in c language?
Write a program to print all permutations of a given string.
What are pointers really good for, anyway?
How can I get the current date or time of day in a c program?
What is the general form of function in c?