117k views
1 vote
within a list are identified by an index number, placed within square brackets after the name of the list. For example:

User Bret VvVv
by
5.8k points

1 Answer

4 votes

When a programmer declare single dimension or double dimensions array they use box bracket with index number to access the cell number.

int a[10]; = where a is variable name declared with data type as integer and which hold 10 values.

Each is access with cell number or index number surrounded by box brackets

Example a [4] where “a” is variable number and “4” is index number or cell number. By refer “4” user is access the 4 cell data

Maximum “a” single dimension store total of 10 number where cell number or index number starts from 0 to 9.

User IAnurag
by
5.9k points