Declare a queue of integers that can hold a maximum of 256 elements.
Declare a queue of integers that can hold a maximum of 256 elements.
Model answer
The number after the colon is the highest allowed index, not the size. Indexes run from 0 to 255, which gives 256 elements. Elements added beyond this bound are not stored, and a tool may report a warning.