What should be expression1 evaluate to in using ternary operator as in this line?
Posted: Wed Jul 13, 2022 7:45 pm
expression1 ? expression2 : expression3
a) Integer
b) Floating – point numbers
c) Boolean
d) None of the mentioned
a) Integer
b) Floating – point numbers
c) Boolean
d) None of the mentioned