Vidyalelo
Ruby Programming · Q40

Arrays, Hashes and Strings in Ruby

Programming · Ruby Programming · question 40

Q40

What is the output of the given code? string_array = ["a","e","i","o","u"] print string_array[3]

A.
["a","e","i","o","u"].
B.
Error
C.
o
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