Vidyalelo
Ruby Programming · Q39

Arrays, Hashes and Strings in Ruby

Programming · Ruby Programming · question 39

Q39

What will be the output of the following? array1 = [1,2,3] array2 = [0,0,0] if array1 >= array2 print "Greater or equal" else print "Not equal" end

A.
Greater or equal
B.
Not equal
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