The correct answer is: B. Subscript
A subscript is a number or letter that appears after a variable name to indicate the position of the variable in memory. In a two-dimensional array, the subscripts are used to specify the row and column position of each element in the array.
For example, in the array arr[2][3]
, the subscript 2
indicates the row number and the subscript 3
indicates the column number. The element at the intersection of row 2 and column 3 is therefore arr[2][3]
.
The other options are incorrect because:
- A superscript is a number or letter that appears above a variable name to indicate that the variable is a power of another variable.
- A row number is the number of rows in a two-dimensional array.
- A column number is the number of columns in a two-dimensional array.