What should be expression1 evaluate to in using ternary operator as in this line?expression1 ? expression2 : expression3
The controlling condition of ternary operator must evaluate to boolean.
Your email address will not be published. Required fields are marked *
Submit Your Solution hear: