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 / ratan
All above answers are wrong.
Correct answer is
5
3
1.
This is because the value "i" is decremented twice (once in
the loop and second time in the printf() function).
| Is This Answer Correct ? | 24 Yes | 2 No |
Post New Answer View All Answers
Create a simple code fragment that will swap the values of two variables num1 and num2.
What is the description for syntax errors?
Explain the red-black trees?
Explain setjmp()?
Did c have any year 2000 problems?
What is the difference between array_name and &array_name?
The performance of an operation in several steps with each step using the output of the preceding step a) recursion b) search c) call by value d) call by reference
How to create struct variables?
Tell us the use of fflush() function in c language?
Is fortran faster than c?
Why pointers are used?
How many keywords (reserve words) are in c?
i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....
What is integer constants?
What are qualifiers?