Gollum to Programmer [email protected] • 1 year agoFor?i.imgur.comimagemessage-square13fedilinkarrow-up1106arrow-down141cross-posted to: programmer_humor
arrow-up165arrow-down1imageFor?i.imgur.comGollum to Programmer [email protected] • 1 year agomessage-square13fedilinkcross-posted to: programmer_humor
minus-square@[email protected]linkfedilink1•1 year agoNot quite the same, there’s a subtle but significant difference
minus-square@[email protected]linkfedilink2•1 year agoWhat happens on the next iteration when i = 2,147,483,647 for each of our loops?
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?