Home / Programming MCQs / Ruby MCQs / Question

Y

Yami Thakur • 9.03K Points
Tutor III

Q. Array indexing in ruby starts at_________.

(A) -1
(B) 1
(C) 0
(D) Random number

Explanation:

Array indexing starts at 0, as in C or Java.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.