in reply to Ternary operator (there's no Trinary operator )
Conditional OperatorWhich says that ?: is a ternary-type operator (meaning it has 3 components), and that its name is "the conditional operator".
Ternary "?:" is the conditional operator, just as in C.
"Trinary" is just not a word - it's a lexical error.
"Tertiary" is a description of ordinality, and means "the third position". Thus, for ?:, the tertiary argument is returned when the conditional is false.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Ternary operator (there's no Trinary operator )
by rir (Vicar) on Jul 21, 2006 at 03:00 UTC |