Syntax
Build Tools
-
debug50
-
passed by value
- local variables in C are passed by value in function calls
- the callee receives a copy of the passed variable, not the variable itself
- the variable in the caller is unchanged unless overwritten
-
passed by reference
- arrays
- the callees receive the actual array, not a copy of it
- then the callee manipulates the elements of the array, the actual array’s elements will ALSO be manipulated