What is the address of the 13th element of a 26 element arra
What is the address of the 13th element of a 26 element array whose base address is 0x1000 BC9C If the element is an IEEE FPS Double precision number?
Solution
Note that an IEEE Double precision number takes a total of 64 bits each.
Given the base address is: 0x1000BC9C.
Element size 8 byte(i.e., 64 bit) each.
Array size 26 elements.
13th element address in the array is computed as: baseAddress + (13 - 1)*size = baseAddress + 12*8 = 0x1000BCFC.
