Which operators are known as ternary operator?
Show answerHide answer
Correct answer: (A) ?,:
Explanation
The conditional operator ?: is the ternary operator because it takes three operands: condition ? expr1 : expr2.
Correct answer: (A) ?,:
Explanation
The conditional operator ?: is the ternary operator because it takes three operands: condition ? expr1 : expr2.
This is question 134 of DSSSB TGT Computer Science PYQ, 25 Jun 2023, Shift 3 (4:30 PM). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.