Arrays

3:00

Question 1 of 3

Consider a 10x10 array A. The address of A[1][1] is 3000 and the address of A[2][3] is 3026. If the array is stored in row-major order, what is the size of each element in bytes? (Assume array indices start from 0). [GATE CS 2003]

2
4
5
8