c - dynamic and stack memory allocation done by the compiler? -


i know there several types of memory allocation. taking c language example, have static allocation, stack allocation, heap allocation.

i understand static allocation done compiler, other 2 takes place on run time. responsible that, compiler, process or operating system?

i'm asking if compiler involved in running program?

os responsible stack , heap memory allocation.

the os allocate stack memory every thread , language runtime calls os allocate heap memory.


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -