It is said that the stack memory gets allocated at compile time and the function calls are saved in the stack memory.
But how can the compiler know how much stack memory do function calls need?
It is said that the stack memory gets allocated at compile time and the function calls are saved in the stack memory.
But how can the compiler know how much stack memory do function calls need?