operators are known as ternary operators
Answers
Answered by
2
Answer:
ternary operator are those in which 3operator are used.example(a >b)?a:b
Answered by
13
Explanation:
The ternary operator is an operator that takes three arguments. The first argument is a comparison argument, the second is the result upon a true comparison, and the third is the result upon a false comparison. If it helps you can think of the operator as shortened way of writing an if-else statement.
Similar questions