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 a shell structure examples?
Tell us the use of fflush() function in c language?
Explain b+ tree?
WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?
A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none
explain what are actual arguments?
What is a null string in c?
What is d'n in c?
What is the difference between declaring a variable and defining a variable?
about c language
What is the data segment that is followed by c?
What is a memory leak? How to avoid it?
How can a string be converted to a number?
what are bit fields in c?
What are data structures in c and how to use them?