Advertisements
Advertisements
Question

Consider the Two dimensional array P[2][3], of peripherals (input/output devices) given above, state the index of the device Barcode Scanner.
Options
P[1][1]P[0][1]P[1][2]P[0][0]
MCQ
Advertisements
Solution
P[1][1]
Explanation:
(Row and column indexes in a 2D array P structure start from (0,0). The element is in row index 1 and column index 1, so P[1,1].
shaalaa.com
Is there an error in this question or solution?
