

MCQOPTIONS
Saved Bookmarks
1. |
Comment on the following expression? c = (n) ? a : b; can be rewritten as |
A. | if (!n)c = b; else c = a; |
B. | if (n <= 0)c = b; else c = a; |
C. | if (n > 0)c = a; else c = b; |
D. | All of the mentioned |
Answer» B. if (n <= 0)c = b; else c = a; | |