+ 5

What does those mean!? => for(;;) if(!i)

for(;;) if(!i)

11th Jun 2019, 10:08 AM
Hadjer
Hadjer - avatar
4 odpowiedzi
+ 5
Hadjer in for(;;); the semicolon indicate where the expression ends and you can have lots of statements in the for loop like for(a=1,b=2,c=3;a<5;a++)
11th Jun 2019, 10:30 AM
✳AsterisK✳
✳AsterisK✳ - avatar
+ 5
Hadjer when "a" of becomes 4
11th Jun 2019, 10:42 AM
✳AsterisK✳
✳AsterisK✳ - avatar
+ 4
this is a duplicate question, please kindly remove one, I haven't seen if(;;) before but if(!I) - - > "means if it's not i" execute the statement
11th Jun 2019, 10:17 AM
✳AsterisK✳
✳AsterisK✳ - avatar
+ 4
*AsterisK* And when it will stop executing the for loop in these cases ??? specially when there's no decrementation !
11th Jun 2019, 10:37 AM
Hadjer
Hadjer - avatar