jaidenlaine2758 jaidenlaine2758
  • 14-09-2019
  • Computers and Technology
contestada

Given the following data definition
Array: .word 3, 5, 7, 23, 12, 56, 21, 9, 55

The address of the last element in the array can be determined by:

Array

Array + 36

36 + Array

Array + 32

40 + Array

Respuesta :

ExieFansler ExieFansler
  • 19-09-2019

Answer:

Array + 36.

Explanation:

The array contains the address of the first element or the starting address.So to find the address of an element we to add the size*position to the starting address of the array.Which is stored in the variable or word in this case.

There are 9 elements in the array and the size of integer is 4 bytes.So to access the last element we have to write

array + 4*9

array+36

Answer Link

Otras preguntas

2. Is it possible to break a Scientific Law?
what is an advantage of having organelles​
Which of these animals would be measured to have the most mass? an elephant a goldfish a dog a fox
: Writing a Critical Essay on Leo Tolstoy’s The Death of Ivan Ilyich In this task, you will write a critical essay on Tolstoy’s The Death of Ivan Ilyich (approx
Could someone help me understand this Solving multi step equations-show work -26=3 (×-7)-4x
The piece above is called, The Portuguese, by Georges Braque. Braque used zigzag lines as his primary element in this piece, in order to suggest _____(1)_____ a
An informed decision is made on the basis of having enough reliable information or knowledge to make appropriate ______.
Henrietta has a box of fruit with a mass of 88 dekagrams. What is the weight of the box of fruit in kilograms?
What is the difference between a molecule and a compound and an atom, need help
How do you change your profile name?