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
sorry..please ignore the above answer..
the operation is "i--" =>post decrement,fist do the
operation and then decrement.
so the output will be:
5
| Is This Answer Correct ? | 5 Yes | 14 No |
Post New Answer View All Answers
#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }
List some applications of c programming language?
What is || operator and how does it function in a program?
Explain the use of function toupper() with and example code?
Is javascript based on c?
Differentiate Source Codes from Object Codes
What are qualifiers?
What is the difference between the expression “++a” and “a++”?
If errno contains a nonzero number, is there an error?
main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above
What is array in c with example?
What is 'bus error'?
How does selection sort work in c?
Explain modulus operator.
What is a shell structure examples?