I know data in nested function calls go to the Stack.The stack itself implements a step-by-step method for storing and retrieving data from the stack as the functions get ca
Every function has an identical prologue(The starting of function code) and epilogue ( The ending of a function).
Prologue: The structure of Prologue is look like: push ebp mov esp,ebp
Epilogue: The structure of Prologue is look like: leave ret
More in detail : what is Prologue and Epilogue