Expressions, Operators & Types

Your answer
Answer & solution
Answer: A (no official key was published)
1. If x>y, the expression selects the larger of x and z. Otherwise it selects the larger of y and z. Thus a=max(x,y,z).
2. The maxima for A,B,C,D are respectively 4,6,6,5.
3. Only A yields 4. Equality in a comparison does not change the selected maximum value.