Table of contents
Open Table of contents
Query
a[0] = 42
Compiler Time
At compile time, the compiler knows that a is an array and it’s size say 5. The layout in memory then is a continguous block of size 5 x 8 bytes. Elements inside are have fixed offsets.