Gollum@feddit.de to Programmer Humor@lemmy.ml · 11 months agoFor?i.imgur.comimagemessage-square13fedilinkarrow-up1106arrow-down141cross-posted to: programmer_humor@programming.dev
arrow-up165arrow-down1imageFor?i.imgur.comGollum@feddit.de to Programmer Humor@lemmy.ml · 11 months agomessage-square13fedilinkcross-posted to: programmer_humor@programming.dev
minus-squarelemmy_see@lemmy.worldlinkfedilinkarrow-up2·edit-210 months ago-8 bytes for (int i=1;;i++)
minus-squareVigge93@lemmy.worldlinkfedilinkarrow-up1·10 months agoNot quite the same, there’s a subtle but significant difference
minus-squareVigge93@lemmy.worldlinkfedilinkarrow-up2·10 months agoWhat happens on the next iteration when i = 2,147,483,647 for each of our loops?
-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?