For?

62 points · 13 comments · view on lemmy.world

13 Comments

Written2323@lemmy.ml · 43 pts · 2y (2 replies)

Undefined property : lenght

flashgnash@lemm.ee · 4 pts · 2y

Syntax error: expected >

writeblankspace@lemm.ee · 2 pts · 2y

Yeah 💀 the for loop won't run then

TDCN@feddit.dk · 22 pts · 2y

Syntax error: ? is not a valid operator

pizzaiolo@slrpnk.net · 20 pts · 2y (2 replies)

Unexpected token 'public'

Tolookah@discuss.tchncs.de · 41 pts · 2y (1 reply)

Unknown member 'lenght'

fred@lemmy.ml · 13 pts · 2y

Speak for yourself

Vigge93@lemmy.world · 4 pts · 2y (4 replies)

for(int i = 1; i > 0; i++)

lemmy_see@lemmy.world · 2 pts · 2y (3 replies)

-8 bytes

for (int i=1;;i++)

Vigge93@lemmy.world · 1 pts · 2y (2 replies)

Not quite the same, there's a subtle but significant difference

lemmy_see@lemmy.world · 1 pts · 2y (1 reply)

Which is?

Vigge93@lemmy.world · 2 pts · 2y

What happens on the next iteration when i = 2,147,483,647 for each of our loops?

fubo@lemmy.world · 1 pts · 2y

Next!