@[email protected] to [email protected]English • 9 months agowork(rule)flowlemmy.dbzer0.comimagemessage-square24fedilinkarrow-up1108arrow-down14
arrow-up1104arrow-down1imagework(rule)flowlemmy.dbzer0.com@[email protected] to [email protected]English • 9 months agomessage-square24fedilink
minus-squareMetype linkEnglish10•9 months agoi is already initiated so the first statement isn’t necessary so it’s empty. The loop is ended with a conditional break statement so the loop end criteria isn’t necessary so it’s empty. We want each iteration to increment i so it’s i++ That’s how you end up with (;;i++)
i is already initiated so the first statement isn’t necessary so it’s empty.
The loop is ended with a conditional break statement so the loop end criteria isn’t necessary so it’s empty.
We want each iteration to increment i so it’s i++
That’s how you end up with (;;i++)