Home / Programming MCQs / Ruby MCQs / Question

V

Vinay Kumar • 8.45K Points
Tutor III

Q. What will the following expression evaluate to?

Code:
!true && !false
(A) TRUE
(B) FALSE
(C) Syntax Error
(D) None of the above

Explanation:

Boolean operator && evaluates to true only when both the values are true.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.