MC logo

Array Access Problem

  Practice Problems

Suppose an array is declared (Pascal style) as
a: array[2..10, 3..8] of integer;
  1. Give the dope vector for accessing members of the array. Assume the array is located at memory address 5000, and that integers require four bytes of storage.
  2. Give a dope vector for the column slice a[*,6]
Answers.