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 / sindhura
it gives an error ,because prinf statement not given
correctly.if the printf statement is given as printf("\t%d",i--)
then the output of the prgm will be,
5 4 3 2 1 0
| Is This Answer Correct ? | 2 Yes | 10 No |
Post New Answer View All Answers
What is a good way to implement complex numbers in c?
Explain what are reserved words?
Explain the difference between the local variable and global variable in c?
What is the default value of local and global variables in c?
Find duplicates in a file containing 6 digit number (like uid) in O (n) time.
What is c value paradox explain?
What is the difference between Printf(..) and sprint(...) ?
What is a keyword?
What is scope rule in c?
When do we get logical errors?
What is an operator?
What is array of structure in c programming?
Can we declare function inside main?
What are the advantages of Macro over function?
When should the register modifier be used? Does it really help?