Ask Question
27 September, 12:47

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

+3
Answers (1)
  1. 27 September, 15:35
    0
    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
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “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 ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers