65.5k views
1 vote
The ternary operator takes three operands and uses the (?: notation. what control structure does the ternary operator mimic

1 Answer

5 votes
The ternary operator mimics the if statement.
User ElGavilan
by
8.4k points