Question 11
In 1-based indexing for a 2D array A[1..M][1..N], what is the Row-Major address of A[i][j] given Base B and element size W?
For 1-based indexing, there are (i-1) complete rows preceding row i, and (j-1) elements preceding column j in row i.