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 nested structure with example?
What is cohesion in c?
What is break statement?
When a c file is executed there are many files that are automatically opened what are they files?
What are header files and what are its uses in C programming?
What is the difference between ++a and a++?
What is the ANSI C Standard?
Explain how are portions of a program disabled in demo versions?
Can i use “int” data type to store the value 32768? Why?
what is the basis for selection of arrays or pointers as data structure in a program
What does sizeof function do?
which of the following statement is wrong a) mes=123.56; b) con='T'*'A'; c) this='T'*20; d) 3+a=b;
What are comments and how do you insert it in a C program?
Explain two-dimensional array.
what are the facialities provided by you after the selection of the student.