Vidyalelo
Ruby Programming · Q75

Control Structures in Ruby

Programming · Ruby Programming · question 75

Q75

What is the output of the given code? unless true && false print "false" else print "ruby" end

A.
True
B.
False
Answer
C.
Nil
D.
Syntax error

Answer: Option B

Solution

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