In C, what is the index of the first element of an array?
Correct answer D. 0
Explanation
C arrays are zero-indexed, so the first element is arr[0] and the last element of an array of size n is arr[n-1].
Answer checked How we write and check questions
Discussion