2 ms·
Ah, interesting. Of course, you can do the same thing in one for loop in C like so: for(i=0,j=0;i<10;j=(j+1)%5, j==0?i++:){ } Not that you ever would
by 14113 13y ago
Ah, interesting. Of course, you can do the same thing in one for loop in C like so:
for(i=0,j=0;i<10;j=(j+1)%5, j==0?i++:){
}
Not that you ever would of course, but it does demonstrate the power of for loops in C.