Do array subscripts always start with zero?

hi i learn c language in naresh i Technologies Can any body Knows Do array subscripts always start with zero?

website:www.nareshit.in
Do array subscripts always start with zero?

Yes.
> Do array subscripts always start with zero?

Yes; the first element of an array is the one at position zero.

Note that in addition to arrays, the subscript operator can also be used with pointers; if the pointer points to somewhere in the middle of the array, negative subscripts up to position zero in the array are valid.
Topic archived. No new replies allowed.