Exam-style question
Try this first
What is the index of the first element in an array?.
- A.0
- B.1
- C.-1
- D.2
Answer and explanation
Concise answer
0
Why this is correct
In most programming languages, array indexing starts at 0, making 0 the index of the first element.
Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.
Common mistake
No common mistake is linked to this question yet.
