Skip to main content

Posts

Showing posts with the label index

One dimensional array

           One dimensional array can be thought as a list of values. In one dimensional array, there is only one subscript like num[10], where 10 is called subscript or index.       e.g. int a[5];        1 th element     a[0] 2 nd element      a[1] 3 rd element    a[2] 4 th element      a[3] 5 th element    a[4]                                     2000                          2002             ...