Name a ternary operator in C++
Answers
Answered by
1
Answer:
This operator returns one of two values depending on the result of an expression. If "expression-1" is evaluated to Boolean true, then expression-2 is evaluated and its value is returned as a final result otherwise expression-3 is evaluated and its value is returned as a final result.
Hope it helps u❤
Similar questions
Hindi,
1 month ago
Chemistry,
1 month ago
Math,
1 month ago
English,
2 months ago
Hindi,
2 months ago
Social Sciences,
9 months ago
Computer Science,
9 months ago