Gollum@feddit.org to Programmer Humor@programming.dev · 24 hours agoAnother smart movefeddit.orgimagemessage-square86fedilinkarrow-up1776arrow-down126
arrow-up1750arrow-down1imageAnother smart movefeddit.orgGollum@feddit.org to Programmer Humor@programming.dev · 24 hours agomessage-square86fedilink
minus-squarethedeadwalking4242@lemmy.worldlinkfedilinkarrow-up4·edit-29 hours agoFor i = 0; I < array.length; i++
minus-squarexthexder@l.sw0.comlinkfedilinkarrow-up4·12 hours agoi < array.length or else you overflow.
For i = 0; I < array.length; i++
i < array.length
or else you overflow.