Undefined property : lenght
Syntax error: expected >
Yeah 💀 the for loop won't run then
Syntax error: ? is not a valid operator
Unexpected token 'public'
Unknown member 'lenght'
Speak for yourself
for(int i = 1; i > 0; i++)
for (int i=1;;i++)
Not quite the same, there's a subtle but significant difference
Which is?
What happens on the next iteration when i = 2,147,483,647 for each of our loops?
Next!
13 Comments
Written2323@lemmy.ml · 43 pts · 2y
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
Unexpected token 'public'
Tolookah@discuss.tchncs.de · 41 pts · 2y
Unknown member 'lenght'
fred@lemmy.ml · 13 pts · 2y
Speak for yourself
Vigge93@lemmy.world · 4 pts · 2y
for(int i = 1; i > 0; i++)
lemmy_see@lemmy.world · 2 pts · 2y
-8 bytes
for (int i=1;;i++)
Vigge93@lemmy.world · 1 pts · 2y
Not quite the same, there's a subtle but significant difference
lemmy_see@lemmy.world · 1 pts · 2y
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!