The index of the first element of an array in most languages is:
-
A
0
Correct answer
-
B
1
-
C
−1
-
D
2
12 views
Explanation
Most languages use 0-based indexing. Source: FBISE Class 11 Computer Science syllabus-aligned item.
Reference
Asked in: Matric,FBISE
Doubts & discussion
Not sure why the answer is A? Ask here and get an explanation.
Ask a doubt about this MCQ