Skip to content
Sign in
Computer

Conditional operator is an alternative of ______?

Tap an option to check the answer. You can also press A–D.

Explanation
The conditional operator (? :) is a shorthand for the if-else statement. It evaluates a condition and returns one value if true, another if false.