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 #include in c?
How can I manipulate individual bits?
Explain union. What are its advantages?
Why can't I perform arithmetic on a void* pointer?
What is the use of a semicolon (;) at the end of every program statement?
Is null valid for pointers to functions?
what is use of malloc and calloc?
Give basis knowledge of web designing ...
Implement bit Array in C.
Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor
What are qualifiers and modifiers c?
Which of the following operators is incorrect and why? ( >=, <=, <>, ==)
Read the following data in two different files File A: aaaaaaaadddddddd bbbbbbbbeeeeeeee ccccccccffffffff File B: 11111111 22222222 33333333 By using the above files print the following output or write it in the Other file as follows aaaaaaaa11111111dddddddd bbbbbbbb22222222eeeeeeee cccccccc33333333ffffffffffff
Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?
What is non linear data structure in c?