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 a byte?
Solution
Given the base address is: 0x1000BC9C.
Element size one byte each.
Array size 26 elements.
13th element address in the array is computed as: baseAddress + 13 - 1 = baseAddress + 12 = 0x1000BCA8.
