Vidyalelo
Ruby Programming · Q55

Operators in Ruby

Programming · Ruby Programming · question 55

Q55

What is the output of the given code? a="string" b="strings" if(a==b) print ("a and b are same") else print "Not same" end

A.
a and b are same
B.
Not same
Answer
C.
a==b
D.
None of the mentioned

Answer: Option B

Solution

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