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 ‘:’.
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 ‘:’.