Question discussion

What does the expression x = (a > b) ? a : b; compute?

356Medium DSSSB TGT Computer Science 0 replies 1 views
0
What does the expression x = (a > b) ? a : b; compute?
  • AThe sum of a and b
  • BThe smaller of a and b
  • CThe larger of a and b
  • DThe average of a and b
Correct answer: C

Discussion 0

Nobody has replied yet. Start the discussion!