|
When function parameters are passed by value, when calling sub-functions, the actual parameter values are first pushed onto the stack in order.
The access type parameter in the sub-function is actually to access the value of the actual parameter pushed onto the stack (equivalent to a copy of the actual parameter), because after the function call is completed, the function call stack will be automatically released, so you change the actual parameter and push it onto the stack The value (equivalent to the type parameter) will not affect the actual parameter
The value of has any effect. |
|