News for hackers. Stuff that matters.
Re:The never-ending finite loop by nburger on Monday August 02, 2010 @01:02PM (#1568178)
And you could save an additional character by changing the loop test to a+b form, i.e.:

int i,x[99];for(x[98]=i=1;x+98;)i*=!++x[i++];

The other array references are l-values.

Re:The never-ending finite loop by gjm11 on Monday August 02, 2010 @01:43PM (#1568354)
That would need to be *(x+98), which is longer than x[98].
Re:The never-ending finite loop by nburger on Monday August 02, 2010 @11:06PM (#1569968)
Ahh.. you're right, of course. What I wrote has an undefined termination condition, besides not being consistent with the original algo. Thanks.