Computer Science, asked by nevinmathew303, 2 months ago

Name a ternary operator in C++​

Answers

Answered by rajlaxmipahi01
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