Hello Deokjae,

Hi there, I have some questions on the following code.

import std.stdio;

struct S {
int x;
}
void main() {
int[3] a = new int[3];//A
S* b = new S();//B
delete b;//C
}

What's the meaning of the line A?
Is the array allocated on heap? or stack?

IITC new give you something on the heap in all cases.

--
... <IXOYE><



Reply via email to