Correct Answer: B
In the next line is missing the third argument
int d = (a < b) ? (a < c) ? a: (b <c)? b: c;
change it to somehing like ( I add :c at the end)
int d = (a < b) ? (a < c) ? a: (b <c)? b: c : c;
In this case it will be 100. Because will always print a.
a=100;
b=102;
c=102;
x=102;
Correct Answer: B
In the next line is missing the third argument
int d = (a < b) ? (a < c) ? a: (b <c)? b: c;
change it to somehing like ( I add :c at the end)
int d = (a < b) ? (a < c) ? a: (b <c)? b: c : c;
In this case it will be 100. Because will always print a.
a=100;
b=102;
c=102;
x=102;
Definitely B.
B se pierde el false del primero
Answer: B
Tested
b
Did exam MAY 17, 2017…This question was seen
Ans: B
B.Compilation fails