Q. What’s wrong? (x = 4 && y = 5) ? (a = 5) ; (b = 6); (Solved)

1. the question mark should be an equal sign

2. the first semicolon should be a colon

3. there are too many variables in the statement

4. the conditional operator is only used with apstrings

  • d. the conditional operator is only used with apstrings
Subscribe Now

Get All Updates & News