Fixed-length arrays of elements numbered 0 through n-1 are encoded by individually encoding the elements of the array in their natural order, 0 through n-1. Each element's size is a multiple of four bytes. Though all elements are of the same type, the elements may have different sizes. For example, in a fixed-length array of strings, all elements are of type string
, yet each element will vary in its length.
Declarations for fixed-length arrays of homogenous elements are in the following form:
type-name identifier[n];
Fixed-Length Array