How do I compute the address of the next element? I have to work on something , but I am making an error that I can not identify. Propably, it is going to sound simple to you but it's my first course on computer architecture and there is nothing in my slides or book.
&quot;We are given a memory, where the smallest chuck of information that can be adressed is 1 byte, and we use 32 - bit memory adresses. Arrays , contain doubles, and each elememnt is an 8 - byte one.&quot;
&amp;x[0]=0x0000A100 .&quot;
I want to compute the adresses of &amp;x[i] , i=1,2..
What I did thought was the right approach is:
Since, we have a memory that is byte - adressable then we can do it as such :
&amp;x[i] and &amp;x[i+1] have a dc offset which is  8 -byte and since it is byte adressable then :
&amp;x[i+1] = &amp;x[i] + 8
And I used an online calculator to get these results :

But they are wrong...
The offset should be 4 bytes, since 1 byte is 8 bits and 32 bits contain 4 bytes.