How are 2D static arrays allocated?

BCS ao at pathlink.com
Mon Nov 3 20:33:35 PST 2008


Reply to Jesse,

> In C allocating a static 2D array gives a continues chunk of memory.
> Java creates an array that points to more arrays. Just wondering how D
> handles this.
> 

int[5][6] a; // like C




More information about the Digitalmars-d-learn mailing list