- cross-posted to:
- programmer_humor@programming.dev
- cross-posted to:
- programmer_humor@programming.dev
You must log in or register to comment.
for(int i = 1; i > 0; i++)
-8 bytes
for (int i=1;;i++)
Not quite the same, there’s a subtle but significant difference
Which is?
What happens on the next iteration when i = 2,147,483,647 for each of our loops?