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 / sarvagya sharma
all the above answers are wrong i have written this program
into turbo c++ and here is what i got the output
5
4
3
2
1
0
| Is This Answer Correct ? | 2 Yes | 4 No |
Post New Answer View All Answers
What are dangling pointers? How are dangling pointers different from memory leaks?
Explain the difference between getch() and getche() in c?
What does it mean when a pointer is used in an if statement?
What is a global variable in c?
All technical questions
Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?
in iso what are the common technological language?
What are the different types of data structures in c?
Why is sprintf unsafe?
Is there a way to compare two structure variables?
What is %d called in c?
What is the difference between ++a and a++?
What is the difference between call by value and call by reference in c?
Explain what will the preprocessor do for a program?
How can I make sure that my program is the only one accessing a file?