Answer Posted / satrughna sethi
#include<stdio.h>
#include<conio.h>
void main()
{
int i,j;
printf("enter a number");
scanf("%d",&i);
for(int n=1;n<=5;n++)
{
j=i%10;
i=i/10;
printf("%d",j);
}
getch();
}
| Is This Answer Correct ? | 5 Yes | 5 No |
Post New Answer View All Answers
What Is The Difference Between Null And Void Pointer?
List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.
Explain how are portions of a program disabled in demo versions?
What is volatile, register definition in C
What are header files? What are their uses?
What is your stream meaning?
When is the “void” keyword used in a function?
can we change the default calling convention in c if yes than how.........?
How would you obtain the current time and difference between two times?
Write a code to determine the total number of stops an elevator would take to serve N number of people.
write a program to find out prime number using sieve case?
Write a program on swapping (100, 50)
typedef struct{ char *; nodeptr next; } * nodeptr ; What does nodeptr stand for?
What does the characters “r” and “w” mean when writing programs that will make use of files?
Why c language?