In C, an array is a set of variables sharing the same data type : int array[3] = {42, 1337, 0};.
An item of an array can be retrieved through its index.
For example array[1] gives the second element of the array (here 1337).
| Forfatter(e) | Olivier Martin |
| Frist | Ingen frist |
| Innleveringsgrense | Ingen begrensning |
| Kategorimerkelapper | level1, s1 |
In C, an array is a set of variables sharing the same data type : int array[3] = {42, 1337, 0};.
An item of an array can be retrieved through its index.
For example array[1] gives the second element of the array (here 1337).