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
A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.
How can you find out how much memory is available?
Is it possible to have a function as a parameter in another function?
What is the easiest sorting method to use?
How do you redirect a standard stream?
What are the 5 types of inheritance in c ++?
Explain #pragma statements.
What is typedef struct in c?
Explain how can you determine the size of an allocated portion of memory?
What is the behavioral difference when include header file in double quotes (“”) and angular braces (<>)?
What is the use of sizeof?
What is boolean in c?
Is multithreading possible in c?
can we have joblib in a proc ?
How do I use strcmp?