Gollum@feddit.org to Programmer Humor@programming.dev · 22 hours agoAnother smart movefeddit.orgimagemessage-square83fedilinkarrow-up1733arrow-down123
arrow-up1710arrow-down1imageAnother smart movefeddit.orgGollum@feddit.org to Programmer Humor@programming.dev · 22 hours agomessage-square83fedilink
minus-squarethedeadwalking4242@lemmy.worldlinkfedilinkarrow-up3·edit-27 hours agoFor i = 0; I < array.length; i++
minus-squarexthexder@l.sw0.comlinkfedilinkarrow-up4·10 hours agoi < array.length or else you overflow.
For i = 0; I < array.length; i++
i < array.length
or else you overflow.