

McqMate
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 |
View all MCQs in
Object Oriented Programming In cppNo comments yet