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 / subha raman
The operation in for-loop is "i--"..so it will print the
decremented value first..hence the output will be:
4
3
2
1
0
| Is This Answer Correct ? | 14 Yes | 16 No |
Post New Answer View All Answers
Explain how do you convert strings to numbers in c?
How can I check whether a file exists? I want to warn the user if a requested input file is missing.
Explain the concept and use of type void.
Why isnt there a numbered, multi-level break statement to break out
How would you obtain the current time and difference between two times?
How to establish connection with oracle database software from c language?
What is difference between structure and union with example?
What are the __date__ and __time__ preprocessor commands?
In which layer of the network datastructure format change is done
What is a program flowchart and how does it help in writing a program?
What language is windows 1.0 written?
Explain the difference between malloc() and calloc() in c?
What is use of #include in c?
what are bit fields in c?
What is string in c language?