Row Major Address Formula: M[i] [j] = B(A) + W[(i – Ir)*column + (j – Ic)]
In the given problem, Address of P[10][[7] is asked.
1400 is base address, column =10, W = 8 bytes, i = 10, j = 7, Ir = 0 and Ic = 0.
Address of P[10] [7]:
= 1400 + 8[(10 – 0)*10 + (7 – 0)]
= 1400 + 8[100 + 7]
= 1400 + 8*107
= 2256