?:
In computer programming, ?: is a ternary operator that is part of the syntax for basic conditional expressions in several programming languages. It is commonly referred to as the conditional operator, inline if (iif), or ternary if. An expression a ? b : c evaluates to b if the value of a is true, and otherwise to c. One can read it aloud as "if a then b otherwise c". It originally comes from CPL, in which equivalent syntax for <i>e</i><sub>1</sub> ? <i>e</i><sub>2</sub> : <i>e</i><sub>3</sub> was <i>e</i><sub>1</sub> → <i>e</i><sub>2</sub>, <i>e</i><sub>3</sub>.
? :=?ArityC (programming language)C syntaxColon (punctuation)ConditionalConditional (computer programming)Conditional operatorConditioned disjunctionElvis operatorForth (programming language)GettextHook operatorIIFIIfInline ifJOSSJava syntaxNull coalescing operatorOperator?:Operator (computer programming)Operators in C and C++Outline of computer programmingPHP syntax and semanticsPost's latticePowerShellProgram synthesisQuestion markQuestion mark (disambiguation)Rust (programming language)Sequence pointShorthand conditionalTernaryTernary conditionalTernary conditional operationTernary conditional operatorTernary ifTernary selection operatorVisual Basic
Link from a Wikipage to another Wikipage
primaryTopic
?:
In computer programming, ?: is a ternary operator that is part of the syntax for basic conditional expressions in several programming languages. It is commonly referred to as the conditional operator, inline if (iif), or ternary if. An expression a ? b : c evaluates to b if the value of a is true, and otherwise to c. One can read it aloud as "if a then b otherwise c". It originally comes from CPL, in which equivalent syntax for <i>e</i><sub>1</sub> ? <i>e</i><sub>2</sub> : <i>e</i><sub>3</sub> was <i>e</i><sub>1</sub> → <i>e</i><sub>2</sub>, <i>e</i><sub>3</sub>.
has abstract
In computer programming, ?: is ...... ed to as the ternary operator.
@en
In informatica l'operatore con ...... +, C#, Java, Perl, PHP e Ruby.
@it
Nas programação de computadore ...... rido como o operador ternário.
@pt
Operator warunkowy (ang. condi ...... sobnego operatora warunkowego.
@pl
Ternární operátor je operátor ...... ji zapisuje pomocí znaků „?:“.
@cs
Терна́рная усло́вная опера́ция ...... льных чисел корень не берётся.
@ru
Тернарна умовна операція (від ...... довільну кількість аргументів.
@uk
在许多程序设计语言中,条件运算符(conditional operator, ?:)是一个基本的条件语句。条件运算符最初起源于BCPL程序设计语言。
@zh
条件演算子(英: conditional operator) ...... る「? :」(ハテナマークとコロン) の演算子の名称である。
@ja
Link from a Wikipage to an external page
Wikipage page ID
Link from a Wikipage to a Wikipage in a different language about the same or a related subject.
page length (characters) of wiki page
Wikipage revision ID
1.021.183.670
Link from a Wikipage to another Wikipage
wikiPageUsesTemplate
comment
In computer programming, ?: is ...... 2</sub>, <i>e</i><sub>3</sub>.
@en
In informatica l'operatore con ...... +, C#, Java, Perl, PHP e Ruby.
@it
Nas programação de computadore ...... 2</sub>, <i>e</i><sub>3</sub>.
@pt
Operator warunkowy (ang. condi ...... unek ? wyrażenie1 : wyrażenie2
@pl
Ternární operátor je operátor ...... ji zapisuje pomocí znaků „?:“.
@cs
Терна́рная усло́вная опера́ция ...... лгоритм: «если , то , иначе ».
@ru
Тернарна умовна операція (від ...... в залежності від p або не p».
@uk
在许多程序设计语言中,条件运算符(conditional operator, ?:)是一个基本的条件语句。条件运算符最初起源于BCPL程序设计语言。
@zh
条件演算子(英: conditional operator) ...... る「? :」(ハテナマークとコロン) の演算子の名称である。
@ja
label
?:
@de
?:
@en
?:
@it
?:
@ko
?:
@pt
Operator warunkowy
@pl
Ternární operátor (programování)
@cs
Тернарна умовна операція
@uk
Тернарная условная операция
@ru
条件演算子
@ja