What is ternary operator symbol?

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 .

Sizin İçin Seçtik  What is the ternary operator used for?

Leave a Reply

Your email address will not be published. Required fields are marked *