Previous Lecture | lect06 Slides | Next Lecture |
Code From Class
Code from class: https://github.com/ucsb-cs16-su17/code-from-class/tree/master/Lec06
Topics
- Arrays store a bunch of things in a single variable
- Global vs. Local Variables, call by value, call by reference
- Pointers store memory locations
- Arrays are pointers to their first element
- How to draw pointer diagrams
- Swap function using pointers