hairinmybellybutt@lemmy.world to Programmer Humor@lemmy.mlEnglish · 1 year agocountinglemmy.worldimagemessage-square3fedilinkarrow-up10arrow-down10
arrow-up10arrow-down1imagecountinglemmy.worldhairinmybellybutt@lemmy.world to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square3fedilink
minus-squaremacniel@feddit.delinkfedilinkarrow-up0·1 year agoNo. We count start at zero because the array already starts with an element of a specific size. Starting at 1 would always skip that initial element.
No. We count start at zero because the array already starts with an element of a specific size. Starting at 1 would always skip that initial element.