Q58
Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements?
A.
arr[6]
AnswerB.
arr[7]
C.
arr{6}
D.
arr{7}
E.
None of these
Answer: Option A
Solution
Answer: Option A
Solution:
Array index always starts with 0.