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:

    From one casual of mine he picked this sentence. “After dinner, the men moved into the living room.” I explained to the professor that this was Ross’s way of giving the men time to push back their chairs and stand up. There must, as we know, be a comma after every move, made by men, on this earth.
    James Thurber (1894–1961)