how does the for loop work actually..suppose for the
following program how it ll work plz explain to me
for(i=5;i>=0;i--)
prinf(i--);
Answer Posted / subha raman
The operation in for-loop is "i--"..so it will print the
decremented value first..hence the output will be:
4
3
2
1
0
| Is This Answer Correct ? | 14 Yes | 16 No |
Post New Answer View All Answers
What was noalias and what ever happened to it?
what is recursion in C
any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above
Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.
What is the best way to store flag values in a program?
Explain what does the function toupper() do?
What is identifier in c?
Explain goto?
Write a program to generate the Fibinocci Series
Why do we use header files in c?
What could possibly be the problem if a valid function name such as tolower() is being reported by the C compiler as undefined?
How would you use the functions fseek(), freed(), fwrite() and ftell()?
Can include files be nested?
What is indirection in c?
Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?