Gollum@feddit.org to Programmer Humor@programming.dev · 20 hours agoAnother smart movefeddit.orgimagemessage-square82fedilinkarrow-up1701arrow-down122
arrow-up1679arrow-down1imageAnother smart movefeddit.orgGollum@feddit.org to Programmer Humor@programming.dev · 20 hours agomessage-square82fedilink
minus-squarethedeadwalking4242@lemmy.worldlinkfedilinkarrow-up3·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.