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.