Computer Science for IGCSE & O level - Programming (Section 1 - No. 24)
Consider an array declaration in pseudocode: `DECLARE myArray : ARRAY[0:9] OF INTEGER`. What does the number 9 represent?
The data type of the array.
The last index of the array.
The number of elements.
The first index of the array.
Explanation
The second number specifies the upper bound or last index.
Comments (0)
