What's wrong? (x = 4 && y = 5) ? (a = 5) ; (b = 6);

  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


Correct Option: B

Find more quizzes: