On the heap, unless you are allocating it via e.g. alloca.
If struct MyStruct { int x; int y; } MyStruct mystruct; is located on stack, why: MyStruct [] mystructs; should located on heap?
Suliman via Digitalmars-d-learn Wed, 16 Aug 2017 00:41:14 -0700
On the heap, unless you are allocating it via e.g. alloca.
If struct MyStruct { int x; int y; } MyStruct mystruct; is located on stack, why: MyStruct [] mystructs; should located on heap?