Arithmetic Operation · Programming in C
6 questions · asked in 6 of 27 years (2000–2026)
MCQ 4 · NAT 21-mark 3 · 2-mark 3
2000Questions per year2026
Questions 6–6 of 6
Which combination of the integer variables x, y and z makes the variable a get the value 4 in the following expression?
a = (x > y) ? ((x > z) ? x : z) : ((y > z) ? y : z) Answer: (A)
Take option (A):
No
So skip the first part and look at the second part
Yes
the value of
Answer is (A)
Keep practising