184k views
1 vote
You have an array of integers: int myints[10]; and the address of the first integer is be4350. What is the address of myints[1]? myints[2]?

1 Answer

2 votes

Answer:

&myints[1] == 0xbe4354

&myints[2] == 0xbe4358

Step-by-step explanation:

Assuming that sizeof(int) == 4, add 4 bytes for every array element.

User PWoz
by
5.0k points