4 ms·
But they can say both of: - From 1 to 10 there is 9 - From 1 to 10 there is 10 How far from 0 to INT_MIN - it depends.
by jonsen 6y ago
But they can say both of:
- From 1 to 10 there is 9
- From 1 to 10 there is 10
How far from 0 to INT_MIN - it depends.
- user-the-name 6y agoNone of that affects the fact that if a loop runs 10 times, all programmers will say that it ran for 10 iterations.
- jonsen 6y agoYes. My point here is that Thorrez at the start of this thread may have a point: Start 0 1. iteration -1 2. iteration -2 3. iteration -3 ... at the end of the |INT_MIN|’th iteration INT_MIN