Comma Operator

In the C and C++ programming languages, the comma operator (represented by the token ,) is a binary operator that evaluates its first operand and discards the result, and then evaluates the second operand and returns this value (and type).

The use of the comma token as an operator is distinct from its use in function calls and definitions, variable declarations, enum declarations, and similar constructs, where it acts as a separator.

Read more about Comma Operator:  Syntax, Examples, Uses, Other Languages

Famous quotes containing the word comma:

    I didn’t have to think up so much as a comma or a semicolon; it was all given, straight from the celestial recording room. Weary, I would beg for a break, an intermission, time enough, let’s say, to go to the toilet or take a breath of fresh air on the balcony. Nothing doing!
    Henry Miller (1891–1980)