what are ternary operators
Answers
Answered by
1
Answer:
In mathematics, a ternary operation is an n-ary operation with n = 3. A ternary operation on a set A takes any given three elements of A and combines them to form a single element of A. In computer science, a ternary operator is an operator that takes three arguments
Answered by
2
Answer:
computer science, a ternary operator is an operator that takes three arguments (or operands). ... Many programming languages that use C-like syntax feature a ternary operator, ?: , which defines a conditional expression. In some languages, this operator is referred to as the conditional operator.
Similar questions