Gollum@feddit.org to Programmer Humor@programming.dev · 20 hours agoAnother smart movefeddit.orgimagemessage-square82fedilinkarrow-up1718arrow-down122
arrow-up1696arrow-down1imageAnother smart movefeddit.orgGollum@feddit.org to Programmer Humor@programming.dev · 20 hours agomessage-square82fedilink
minus-squarethedeadwalking4242@lemmy.worldlinkfedilinkarrow-up4·edit-25 hours agoFor i = 0; I < array.length; i++
minus-squarexthexder@l.sw0.comlinkfedilinkarrow-up4·8 hours agoi < array.length or else you overflow.
For i = 0; I < array.length; i++
i < array.length
or else you overflow.