Ternary




<programming> A description of an operator taking three arguments.

The only common example is C's ?: operator which is used in the form "CONDITION ? EXP1 : EXP2" and returns EXP1 if CONDITION is true else EXP2.

Haskell has a similar "if CONDITION then EXP1 else EXP2" operator.

See also unary, binary.



< Previous Terms Terms Containing ternary Next Terms >
Terminate and Stay Resident
termination analysis
terminator
term rewriting system
Terms Of Service
2B1Q
binary
hexadecimal
nullary
terpri
terrabyte
Terse
test
Test coverage