Computer Science, asked by BlackKnight1204, 1 year ago

wht are the uses of syntax and ternary operator

Answers

Answered by jaydeep2046
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