Answer Posted / ismail
void main()
{
long num, temp;
for(;;) {
printf("Enter number:");
scanf("%ld",&num);
if(num == 0) break;
while(num) {
temp = num%10;
num = num/10;
printf("%ld", temp);
}
printf("\n");
break;
}
getch();
}
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is c high or low level?
What is nested structure with example?
What is the purpose of realloc()?
Explain the properties of union. What is the size of a union variable
How can I find out how much free space is available on disk?
What is static and auto variables in c?
What are # preprocessor operator in c?
Explain how do you print only part of a string?
What is d'n in c?
What is function and its example?
what is use of malloc and calloc?
What are the 5 elements of structure?
write a program to display all prime numbers
Compare array data type to pointer data type
What is the benefit of using #define to declare a constant?