in Compiler Design
785 views
0 votes
0 votes

 An integer array $A[i, j]$ has index $i$ ranging from $1$ to $10$ and index $j$ ranging from $1$ to $20$. Integers take $4$ bytes each. Suppose array $A$ is stored starting at byte $0$. Find the location of: 

  1. $A[4,5]$
  2. $A[10,8]$
  3. $A[3,17]$

if A is stored in column-major order.

in Compiler Design
785 views

Please log in or register to answer this question.

Related questions