533 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]$

 if $A$ is stored in column-major order. 

Please log in or register to answer this question.

Related questions

0 votes
0 votes
1 answer
3