Computer Science, asked by ebyshimmy, 1 month ago

Write the symbol of the conditional operator.
/
&
?:
>​

Answers

Answered by vashisthalka78
0

Answer:

A conditional operator is represented by the symbol '?:'. The first operand (specified before the '?:') is the evaluating (conditional) expression. It has to be such that the type of evaluated expression can be implicitly converted to 'bool' or that implements operator true in order to avoid compilation errors.

Answered by queenlazy683
1

Answer:

?

It is represented by two symbols, i.e., '?' and ':'. As conditional operator works on three operands, so it is also known as the ternary operator. The behavior of the conditional operator is similar to the 'if-else' statement as 'if-else' statement is also a decision-making statement.

Similar questions