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
How is a pointer variable declared?
what are bit fields in c?
What is a program flowchart?
What is the right type to use for boolean values in c? Is there a standard type?
What does the message "automatic aggregate intialization is an ansi feature" mean?
What is spark map function?
Is c is a high level language?
Explain continue keyword in c
What is meant by type casting?
What is dangling pointer in c?
What is difference between structure and union in c programming?
List out few of the applications that make use of Multilinked Structures?
What's the total generic pointer type?
What is the use of static variable in c?
What are different types of pointers?