in Compiler Design
500 views
0 votes
0 votes

$A$ real array $A[i, j, k]$ has index $i$ ranging from $1$ to $4$, index $j$ ranging from $0$ to $4$, and index $k$ ranging from $5$ to $10$. Reals take $8$  bytes each. Suppose array $A$ is stored starting at byte $0$. Find the location of:

  1. $A[3,4,5]$
  2. $A[1,2,7]$
  3. $A[4,3,9]$
in Compiler Design
500 views

1 Answer

3 votes
3 votes

            I guess this approach might be right.

Related questions