In row major form
Address [I, J] = B+W [n (I-o) + (J-0)]
Where B= Base address
W= element size
N= number of columns.
X [3] [2] = 80 +4[4(3-0) + (2-0)]
= 80 + 4(12+2)=80+56=136
E.Commerce
Training@balujalabs
Franchise Section
Given an arrays X [6][6] who base address is 100. Calculate the Locations X [2][5] if each elements occupies 4 bytes and array is stored row-wise.
To input element of a matrix and display them.
To find highest and lowest element in an array.
20. Given an arrays X [6][6] who base address is 100. Calculate the Locations X [2][5] if each elements occupies 4 bytes and array is stored row-wise.