Q.

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

A. the question mark should be an equal sign
B. the first semicolon should be a colon
C. there are too many variables in the statement
D. the conditional operator is only used with apstrings
Answer» D. the conditional operator is only used with apstrings
3.8k
0
Do you find this helpful?
12

Discussion

No comments yet