Examveda

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

D. None of the mentioned

Answer: Option C


This Question Belongs to Ruby Programming >> Operators In Ruby

Join The Discussion

Related Questions on Operators in Ruby