Q. What will be the output of the given code?
Code:
num=(10<11)||(11===11)? (11===11.0): 0 puts num
β
Correct Answer: (B)
FALSE
Explanation: First check 10<11 it return true then no need to check 11===11 , condition becomes true now go to next statement 11===11.0 and it will return true.