最終更新日:2025/11/24

(programming) An operator taking three operands, specifically the operator ?: used in many programming languages to select one of two values depending on a third value.

音声機能が動作しない場合はこちらをご確認ください
正解を見る

ternary operator

編集履歴(0)
元となった辞書の項目

ternary operator

名詞
日本語の意味
3項演算子。プログラミング言語において、3つのオペランドを取り、条件に基づいて2つの値のうちの1つを選択する?: 演算子を指す。
このボタンはなに?

ネストした if-else を三項演算子(?:)に置き換えて、コードを短く分かりやすくしました。

plural

Dictionary quizzes to help you remember vocabulary

編集履歴(0)

ログイン / 新規登録

 

アプリをダウンロード!
DiQt

DiQt(ディクト)

無料

★★★★★★★★★★