

MCQOPTIONS
Saved Bookmarks
1. |
Consider the following code segment:int x=22, y=15;x = (x>y) ? (x + y) : (x-y);What will be the value of x after the code is executed? |
A. | 22 |
B. | 37 |
C. | 7 |
D. | 37 and 7 |
Answer» C. 7 | |