ExamVeda
Login
Home
This question belongs to C Program Arrays And Strings
Arrays and Strings
?

What is the highest index for an array with 10 elements in C?

Answer & Solution
Correct Answer: Option B
An array in C is indexed starting from 0.

If an array has 10 elements, the first element will have an index of 0.

The last element, therefore, will have an index of 9.

Hence, the highest index for an array with 10 elements is 9.
Examveda
Question posted by Examveda
Community

Join the Discussion

1 Comment
TnGaming 420
TnGaming 420 2 years ago
Explain please