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

at what age is a toddlers posture most upright
what is the function of hyperbole in poetry?
The weekly fee for staying at the Pleasant Lake Campground is $20 per vehicle and $10 per person. Last year, weekly fees were paid for v vehicles and p persons
what similarities do democracy and monarchy have? becuase im doing a venn diagram.
the himalaya mountains were formed in a collision at a A. fracture zone B. transform C. convergent D. divergent
A particular circle in the standard (x,y) coordinate plane has an equation of (x − 5)^2 + y^2 = 38. What are the radius of the circle, in coordinate units, and
the himalaya mountains were formed in a collision at a A. fracture zone B. transform C. convergent D. divergent
Find the area in cm2 of a rhombus whose side length is 29 cm and whose diagonals differ in length by 2 cm
How many irrational numbers are there between 1 and 6 ? F. 1 G. 3 H. 4 J. 10 K. Infinitely many
I need help to graphs these problem please