wht are the uses of syntax and ternary operator
Answers
Answered by
2
In computer programming, ?: is aternary operator that is part of thesyntax for basic conditionalexpressions 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 .
Similar questions