The Gateway to Computer Science Excellence
0 votes
10 views

 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 by Veteran (54.8k points) | 10 views

Please log in or register to answer this question.

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,647 questions
56,492 answers
195,440 comments
100,712 users