5.6 - Functions - Pass By Reference
We show how pointers can be used to pass variables by reference to a function.
0:00 Pass By Reference
0:19 Swap function example
0:39 Syntax
1:19 Demonstration
2:14 Summary
3:03 Exercise: modifying distance function
5:20 Exercise: "returning" multiple values
コメント