Hi
I am trying to find out how a compiler manages the stack space. Does it only allocate the stack memory once on program startup or does it allocate stack memory on every function call/startup? I am specifically interested in how it manages to keep local variables from colliding in memory when for ex: a function is calling it self.
Thanks in advance