Infosys
Company
In a two dimensional array X(9,7) with each element occupying 4 bytes of memory with the address of the first element x(1,1) is 3000,find the address of X(8,5) ?
Read Solution (Total 1)
-
- Base address+byte required{N(i-1)+(j-1)}
Here Base addres is 3000.
Byte required is 4.
N=Number of columns in an array.
i=row of the array element of the address to be found.
j=column of the array element of the address to be found.
Solution;
3000+4{7(7)+4}=3212 - 6 years agoHelpfull: Yes(0) No(0)
Infosys Other Question