Geography, asked by nopayuh, 4 months ago

Write the conditional operator? and make a program to illustrate it.​

Answers

Answered by maralsarthak1834
0

Answer:

The conditional operator is also known as a ternary operator. The conditional statements are the decision-making statements which depends upon the output of the expression. 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