Next: , Previous: , Up: Operators   [Index]


6.5 Ternary Operator Syntax

Ternary operators may come in one of the next forms:

All syntaxes double as parentheses, changing evaluating order to compute the middle operand before the operator is applied.