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 c basic?
What is a buffer in c?
Difference between strcpy() and memcpy() function?
What is the maximum no. of arguments that can be given in a command line in C.?
please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code
Why do we use return in c?
I need a help with a program: Write a C program that uses data input in determining the whole of points A and a whole of circles B. Find two points in A so that the line which passes through them, cut through the maximum number of circles.
Can we change the value of static variable in c?
What is the difference between new and malloc functions?
Is null always equal to 0(zero)?
What is openmp in c?
Can math operations be performed on a void pointer?
what is the syallabus of computer science students in group- 1?
What does the function toupper() do?
What is bubble sort technique in c?