Answer Posted / abhradeep chatterjee
#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 | 4 No |
Post New Answer View All Answers
What is double pointer in c?
Write a program to use switch statement.
Why isnt any of this standardized in c?
What is size of union in c?
What is difference between class and structure?
What are logical errors and how does it differ from syntax errors?
What is a protocol in c?
What is wrong with this initialization?
Who developed c language?
What the different types of arrays in c?
What are categories used for in c?
How to implement a packet in C
Can include files be nested?
What is wrong with this statement? Myname = 'robin';
What's the total generic pointer type?