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.
Other articles related to "comma operator":
Famous quotes containing the word comma:
“I didnt 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, lets say, to go to the toilet or take a breath of fresh air on the balcony. Nothing doing!”
—Henry Miller (18911980)