Arrays
The type [n]T
is an array of n
values of type T
.
Declaration
An array's length is part of its type, so arrays can't be resized. Don't worry about this limitation for now. There is a convenient way later.
Example
Last updated