write a program to display reverse of a number using for
loop?
Answer Posted / rockin pro
Answer
# 9 #include <stdio.h>
int main(void) {
int num[4], i;
printf("Enter the number :
");
printf("The reverse number is :
");
for(i = 4;i >= 0; i--) {
printf("%d",i);
printf("
");
}
return 0;
}
Thanks for Marking this A
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is zero based addressing?
How can I make it pause before closing the program output window?
What are valid operations on pointers?
An expression to whose value an operater is applied a) operand b) variable c) constant d) all of the above
what are bit fields? What is the use of bit fields in a structure declaration?
Where are c variables stored in memory?
What are qualifiers and modifiers c?
Combinations of fibanocci prime series
How to establish connection with oracle database software from c language?
Give the rules for variable declaration?
What is a ternary operator in c?
Is it fine to write void main () or main () in c?
When should I declare a function?
What is wild pointer in c?
Difference between pass by reference and pass by value?