I write in an environment where I am not allowed to allocate new memory after starting the program, and I cannot make operating system calls. When tracking a page error error (probably caused by an unintentional violation of one of the above), a question arises with me (since this is a bit of me in the butt with std lines)
Is the global / local structure distributed on the stack or heap? For instance:
If this operator is in the global scope
struct symbol { char blockID; int blockNum; int ivalue; double fvalue; int reference; bool isFloat, isInt, isRef; int symbolLength; } mySymbol;
where is the allocated memory located?
source share