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 / suresh reddy
The correct answer is
5
3
1
because
in for loop "i--" statement is there and again in printf
statement "i--" is there.
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
What is the use of f in c?
In which layer of the network datastructure format change is done
What is the purpose of the statement: strcat (S2, S1)?
differentiate built-in functions and user – defined functions.
Explain what standard functions are available to manipulate strings?
What is pragma in c?
"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above
Can we use visual studio for c?
What is the difference between a free-standing and a hosted environment?
int i=10; printf("%d %d %d", i, i=20, i);
How can this be legal c?
Is a house a shell structure?
write a proram to reverse the string using switch case?
Why c language?
Is c is a high level language?