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
Can we replace the struct function in tree syntax with a union?
what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values
What is the size of a union variable?
Hi can anyone tell what is a start up code?
What is the need of structure in c?
What is the size of empty structure in c?
Can include files be nested?
Explain which function in c can be used to append a string to another string?
Explain what are compound statements?
main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }
in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above
What is hashing in c language?
How can I copy just a portion of a string?
What does emoji p mean?
What does volatile do?