ANSWER : B
Explanation :
(a<b) is false so is (a>c), hence '2' gets printed out.
Notes :
The conditional ? and : are called ternary operators as they take three
arguments.
In General:
expression A ? expression B : expression C
If expression A is true, then the value returned will be expression B, otherwise
expression C will get returned.