Programming Languages and Database Technologies

Casual Mode - Take your time!

1 / 19
Correct
0
Incorrect
0
Score
0%
Multiple Choice

Which is the best example of ternary operator if 'a' is an integer variable?

  1. (a == 1) ? 20: 30
  2. (a = 1) ? 20: 30
  3. (a == 1) > 20: 30
  4. (a* == 1) ? 20: 30
  5. None of these
Change Mode