Notes
One-Dimensional Arrays
Content of the notes (1)
Page 1
One-Dimensional arrays
It's a set of values of the same type that have an index in order to be identified, for example
Array[Size];
They can be viewed as a bunch of values ordered in a column
The 1st position is represented by the number 0, the 2nd is 1, the 3rd one is a 2 and so on...
So the index goes from 0 to size-1
e.g.
n[3]=4
n[2]=3
n[1]=2
n[0]=1
Information
- Description
- Computer Science Computer Science (One Dimensional Arrays) Note on One-Dimensional Arrays, created by José Miguel Gallardo on 11/02/2015.
- Created by
- José Miguel Gallardo
- Views
- 12
- Rating