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.

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?SolutionGiven the base address is: 0x1

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site