Vidyalelo
Ruby Programming · Q54

Operators in Ruby

Programming · Ruby Programming · question 54

Q54

What will be the output of the given code? boolean_1 = !true puts boolean_1 boolean_2 = !true && !true puts boolean_2

A.
True True
B.
False False
C.
True False
Answer
D.
None of the mentioned

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board