News for hackers. Stuff that matters.
Re:List Processing in C by dzorz on Tuesday December 21, 2010 @04:55AM (#2027417)
> it's because expressions separated by a comma can be evaluated in any order (I believe).

Expressions separated by the comma operator are always evaluated left to right. On the other hand function arguments (which are separated by comma) can be evaluated in any order.

Re:List Processing in C by jpr on Tuesday December 21, 2010 @05:04AM (#2027423)
> Expressions separated by the comma operator are always evaluated left to right.

That's correct (for C), but I feel the need to add that in function calls the parameters are separated by commas, and they can be evaluated in any order.

Re:List Processing in C by mfukar on Tuesday December 21, 2010 @05:10AM (#2027430)
In the contexts of a function declaration/definition/call, comma is not acting as an operator.