Vidyalelo
Ruby Programming · Q48

Operators in Ruby

Programming · Ruby Programming · question 48

Q48

What is the output of the given code? if(a==10 && b=9) print "true" else print "false" end

A.
True
B.
False
C.
Error
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