Answer:
last option: When the called function ends, the memory space allocated to local variables and parameters of the called function is deallocated.
Step-by-step explanation:
A function, when it is called, uses the stack to allocate local variables. When it exits, those variables are no longer needed (since they are local), so the stack pointer is reset to the position it had before calling the function.