, Expression evaluation
e1 , e2 Expression evaluation
e1 any expression
e2 any expression
The comma `,' operator evaluates first the left operand e1, then the
right operand e2, and then returns the value of e2.
-------------------------------- Example ---------------------------------
i = j=2 , j+3;
/* i == 2, since assignment has a higher priority than , */
i = (j=2 , j+3);
/* i == 5; what's inside the parentheses is evaluated first */
This page last updated on Fri Nov 30 10:48:32 MSK 2001
Copyright © 1992-2001, Vitaly Filatov, Moscow, Russia
Webmaster