Top

Discussion

A one dimensional array A has indices 1....75. Each element is a string and takes up three memory words. The array is stored at location 1120 decimal. The starting address of A[49] is

  • A.1264
  • B.1164
  • C.1167
  • D.1267

Answer: A

Start address of the element = base address of array + number of elements * size of each element = 1120 + 48 * 3 = 1264

No comment is present. Be the first to comment.
Loading…

Post your comment