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
What do you know about the use of bit field?
How to set file pointer to beginning c?
What is dynamic memory allocation?
What are local static variables? How can you use them?
Can include files be nested? How many levels deep can include files be nested?
What are bitwise shift operators in c programming?
What does void main return?
`write a program to display the recomended action depends on a color of trafic light using nested if statments
Why is it important to memset a variable, immediately after allocating memory to it ?
Explain pointer. What are function pointers in C?
What are reserved words?
Explain how to reverse singly link list.
What is function in c with example?
What is the scope of an external variable in c?
What happens if header file is included twice?