Arity is the number of operands (s) that an operator can accept. For example, + , - , * and & are operators that can be used both unary (one operand) and binary (two operands). ?: - the only operator that accepts three operands (therefore it is called a ternary operator).
But what is the arity of the operator , (comma)?
source share