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?

1 answer

Answer

1062651

2026-03-09 13:05

+ Follow

use the formulae X(i,j)=Base+w[N(i-1)+(j-1)] where m=9 ,n =7 ,i=8 ,j=5 hence 3000+4*[7(8-1)+(5-1)] =3000+4*(49+4) =3000+53*4=3212

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.