1(v)
Consider the two-dimensional array P[2][3], of peripherals (input/output devices) given below, state the index of the device Barcode Scanner.
![Consider the two-dimensional array P[2][3], of peripherals (input/output devices) given below, state the index of the device Barcode Scanner. ICSE 2025 Computer Applications Solved Question Paper.](/assets/img/b862908d5e459d3378.png)
- (a)P[1]
- (b)P[0]
- (c)P[1]
- (d)P[0][0]
Show SolutionHide Solution↓
P[1][1]
Reason — In a two-dimensional array P[2][3], the first index represents the row and the second index represents the column. The device "barcode scanner" is located in the second row (index 1) and the second column (index 1), so its index is P[1][1].