Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ 3.0r4 - <b>, expression evaluation</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
,                        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 */

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson