InterviewSolution
Saved Bookmarks
| 1. |
A subscript number must be an integer or ................ expression.Fill in the blank. |
| Answer» RIPT number must be an integer or an integer expression. An array subscript helps in displaying the value of a specific element in an array. It indicates just one element of the array. The first element of the array is 0. The SECOND element is 1 and so on. The subscript of an array is usually mentioned in square brackets just before the array. For multidimensional arrays, each DIMENSION has its own subscript. A subscripted variable is a combination of a subscript and the array name. | |