If structures places data to stack why we do not getting stackoverflow on array of structures?

Suliman via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Aug 16 00:06:38 PDT 2017


If structures placing data on the stack why we do not getting 
stackoveflow while we creating array of structures? Or for 
example big structure.

Am I right understand that structures placing data _only_ on 
stack? But the stack size is very limited (on Widnows it's just 
1MB).

So how it's work?


More information about the Digitalmars-d-learn mailing list