What is the highest index for an array with 10 elements in C?
A. 5
B. 9
C. 10
D. 11
Answer: Option B
Solution (By Examveda Team)
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.
Join The Discussion
Comments (1)
Related Questions on Arrays and Strings

Explain please