nA unique
feature of initializers is that the size of an array may be
omitted when initializing values are included in the declaration statement.
nAnd the actual
size of the array will depend on how many elements in the { }.
nint grades[] =
{98, 87, 63, 74, 86, 76};
nActual size
will be 6
nThe complier
will reserves enough storage space for 6 elements.
n
n