Newbie questions on memory allocation

bearophile bearophileHUGS at lycos.com
Sat Jul 24 10:14:04 PDT 2010


Simen kjaeraas:
> Check the code again. int[3] is stack-allocated. There is a temporary on
> the heap, but it is thrown away after being used to initialize a.

I didn't see the 3.
I am very sorry Deokjae Lee... -.-'


More information about the Digitalmars-d-learn mailing list