Q. What will be the output of the given code?
Code:
boolean_var = false || -20 > -18 puts boolean_var
β
Correct Answer: (B)
FALSE
Explanation: 20 is not greater than -18 hence the output will be false || false which is false.