Why is stack size limit?

Why is stack size limit?
Answer
The maximum stack size is
static because that is the definition of “maximum”. Any sort of maximum on anything is a fixed, agreed-upon limiting figure. If it behaves as a spontaneously moving target, it isn’t a maximum. Stacks on virtual-memory operating systems do in fact grow dynamically, up to the maximum.
 

Tìm kiếm

Back
Top