1.

A matrix A[m] [n] is stored with each element requiring 4 bytes of storage. If the base address at A[1] [1] is 1500 and the address at A [4] [5] is 1608, determine the number of rows of the matrix when the matrix is stored in Column Major Wise.

Answer»

A [m] [n] 

i = 4, B = 1500 

j = 5, w = 4 

B [i][j] = 1608



Discussion

No Comment Found

Related InterviewSolutions