D
dominic.connor
Ok,
pX = new Stuff N];
Is dynamically created.
what about
Stuff x [N]; ?
To me saying it's statically allocated is wrong, because that goes to
static variables.
I can't call it stack allocation because it may be in a class, which
gets dynamically allocated.
pX = new Stuff N];
Is dynamically created.
what about
Stuff x [N]; ?
To me saying it's statically allocated is wrong, because that goes to
static variables.
I can't call it stack allocation because it may be in a class, which
gets dynamically allocated.