三項演算子
さ
ん
こ
う
え
ん
ざ
ん
し
Meanings
1
ternary operator; conditional operator
In programming, an operator that takes three operands; commonly refers to the conditional operator `? :` in languages like C, Java, and JavaScript.
In C, you can write conditional branches concisely using the ternary operator.
The ternary operator switches the value it returns depending on a condition.