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 / binz
Answer is
5
3
1
But you should change your printf statement to printf("%d",
i--);
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is function and its example?
Is anything faster than c?
Explain what are the advantages and disadvantages of a heap?
What is a volatile keyword in c?
What are enums in c?
Was 2000 a leap year?
What is difference between structure and union in c?
Explain what is the difference between #include and #include 'file' ?
write a program fibonacci series and palindrome program in c
What is the general form of function in c?
When should you use a type cast?
application attempts to perform an operation?
What is const keyword in c?
What are the various types of control structures in programming?
A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference