in then NCR video, bhaiya has mentioned only n,r in the call stack. shouldn’t we mention ans also?
basically, i want to ask that either only the parameters are stored in the stack frame… or all the local variables of the function are stored in the stack frame?
Local variables in call stack
Both parameters and local variables are stored in the stack frame.