Home  >  Article  >  Backend Development  >  What is the lower limit of the subscript of array elements in C language?

What is the lower limit of the subscript of array elements in C language?

王林
王林Original
2020-06-10 11:24:0817229browse

What is the lower limit of the subscript of array elements in C language?

#The lower limit of the subscript of array elements in C language is 0.

The elements in the array are stored in order, and they are stored continuously in the memory in this order. An array element is represented by its name as a whole and its sequential position in the array. For example: a[0] represents the first element in the array named a.

Recommended tutorial: C language tutorial

The above is the detailed content of What is the lower limit of the subscript of array elements in C language?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn