Q. What will be the output of the given ruby code?
Code:
string_array = [a,e,i,o,u] print string_array[3]
β
Correct Answer: (D)
o
Explanation: The array is a string array and the index is 3 so 'o' will be the output.