Gollum@feddit.org to Programmer Humor@programming.dev · 19 hours agoAnother smart movefeddit.orgimagemessage-square79fedilinkarrow-up1705arrow-down122
arrow-up1683arrow-down1imageAnother smart movefeddit.orgGollum@feddit.org to Programmer Humor@programming.dev · 19 hours agomessage-square79fedilink
minus-squarethedeadwalking4242@lemmy.worldlinkfedilinkarrow-up4·edit-24 hours agoFor i = 0; I < array.length; i++
minus-squarexthexder@l.sw0.comlinkfedilinkarrow-up4·7 hours agoi < array.length or else you overflow.
For i = 0; I < array.length; i++
i < array.length
or else you overflow.