Am I right if I say this as a conclusion?: The amount of needed memory for global/local variables is assigned during com
Posted at:
2014-12-18
Assigned is a strange word... The memory is allocated by the operating system at run-time.
You can know the memory requirements of primitives at compile time but the code can ask for more memory during the run. There's no way for a compiler to know ahead of time.