Array index always start - C programming

Q.  Array index always start from
(C programming)

- Published on 26 Jun 15

a. 0
b. 1
c. 2
d. 3

ANSWER: 0
 
The array always starts with 0 because it is a sort of efficiency. The Zero-based indexing simplifies the array-related math for the programmer, and simpler math leads to fewer bugs.

Post your comment / Share knowledge


Enter the code shown above:
 
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)