Consider the following statements:

1.1 Consider the following statements:
int x = 22, y = 15;
x = (x<y) ? (x+y) : (x-y);
What will be the value of x after executing these statements?
A) 22
B) 37
C) 7
D) Error. Cannot be executed.


Leave a Reply