Mal ne Frage

Vielleicht kann mir hier jemand helfen…

was wird bei folgenden Code Zeilen ausgegeben…

Assume that myarray starts at this “ad hoc” address A000. What will the following code output?

int myarray[] = { 1, 2, 3, 4 };
cout

Vielleicht kann mir hier jemand helfen…

was wird bei folgenden Code Zeilen ausgegeben…

Assume that myarray starts at this “ad hoc” address A000.
What will the following code output?

int myarray[] = { 1, 2, 3, 4 };
cout

A000 1 (index 0)
A004 2 (index 1)
A008 3 (index 2)
A00C 4 (index 3)

myarray+4 ist äquivalent zu &(myarray[4])
*(&(myarray[4])) == myarray[4]
&(myarray[4]) == A010