Call by value: The actual value is assigned to the formal parameter of the function, and the modification of the formal parameter does not affect the actual parameter
Call by reference: pass a pointer to a formal parameter, the operation is equivalent to the operation of the actual parameter itself
scope
The global variable has the same name as the local variable, and the local variable is used first in the function
Formal parameters are also treated as local variables of the function