1(xviii)
Consider the Two dimensional array S[2], of storage devices given below, state the index of the Hard disk.
![Consider the Two dimensional array S[2][3], of storage devices given below, state the index of the Hard disk? ICSE 2025 Computer Applications Solved Question Paper.](/assets/img/12475766a759f72e67.png)
- (a)S[1][0]
- (b)S[0]
- (c)S[1]
- (d)S[0][0]
Show SolutionHide Solution↓
S[1][0]
Reason — In a two-dimensional array S[2][3], the first index represents the row and the second index represents the column, both starting from 0. Based on the given arrangement of storage devices, the element "Hard disk" is located in the second row (index 1) and first column (index 0), so its index is S[1][0].