Functions in Memory (Stack)
Checkout my twitter thread explaining how functions work in memory (stack). Things to keep in mind to understand functions behavior When a function is called, it gets in the stack, and stays there until its execution. The function completes executions, it gets off the stack and returns to the program flow. Here’s a program with a main function that call some other functions and that function call some other function. As they get called, they are loaded into the memory stack....