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 bit rate & baud rate? plz give wave forms
The file stdio.h, what does it contain?
What are the types of c language?
How can I write functions that take a variable number of arguments?
Why can’t we compare structures?
What tq means in chat?
the number of measuring units from a arbitrary starting point in a record area or control block to some other point a) branching b) recording pointer c) none d) offset
Dont ansi function prototypes render lint obsolete?
What is strcpy() function?
how to print electricity bill according to following charges first 100 units -1rs per unit for next 200 units-1.50 rs per unit without using conditions
What is the explanation for the dangling pointer in c?
Where static variables are stored in c?
Why n++ execute faster than n+1 ?
What is the use of getchar functions?
Why is c known as a mother language?