Arity is the number of operand(s) an operator can take. For example, +, -, * and & are the operators that can be used as both unary (one operand) and binary (two operands). ?: is the only operator which takes three operands (that's why it is called ternary operator). 
But what is the arity of , (comma) operator? 
The comma operator is a binary operator, as indicated by its definition in the C Standard, §6.5.17:
Syntax
    1 expression:
            assignment-expression
            expression , assignment-expression
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With