Sail E0 Webinar
Question
What is the output of the given code?string_array = ["a","e","i","o","u"]boolean_array = ["True","False"]puts string_array[3]puts boolean_array
Options:
A .  [a","e","i","o","u"].
B .  Error
C .  c) o True False
D .  None of the mentioned
Answer: Option C


The array is a string array and the index is 3 so 'o' will be the output and then the boolean_array will get printed.
Output:
o
True
False



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers