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 are the valid places to have keyword “break”?
which of the following is not a character constant a) 'thank you' b) 'enter values of p, n ,r' c) '23.56E-o3' d) all of the above
What are linked lists in c?
Explain the difference between strcpy() and memcpy() function?
What is wild pointer in c?
show how link list can be used to repersent the following polynomial i) 5x+2
Explain 'bit masking'?
List out few of the applications that make use of Multilinked Structures?
Is boolean a datatype in c?
What are the characteristics of arrays in c?
What is s or c?
What is an array? What the different types of arrays in c?
What is a buffer in c?
pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)
What are the application of c?