Stored integers

Sep 23, 2015 at 4:24am
On my pc I have sizeof(int) 4 bytes.
And I have a situation with integers where:

j has the value 1 and is stored at 0x80498c8
k has the value 2 and is stored at 0x80498d0

And another where integers from an array are stored at:

0x80497b0
0x80497b4
0x80497b8
0x80497bc
0x80497c0
0x80497c4

Why there are stored like this?
Sep 23, 2015 at 6:51am
What is the problem?
Topic archived. No new replies allowed.