Array Addressing and Pointers in C++
CS2 / C++
The activity leads students through discovering how arrays are laid out in memory, how array elements can be accessed via pointers, and how arrays can be passed as arguments to functions. The activity has students work through pythontutor.com in C++ mode.
This activity was developed with NSF support through IUSE-1626765. You may request access to this activity via the following link: IntroCS-POGIL Activity Writing Program.
- Level: Undergraduate
- Setting: Classroom
- Type: Learning Cycle
- Discipline: Computer Science
- Course: CS2 / C++
- Keywords: array, element, pointer, argument, function
How to Cite
Norman, V. (2023). Array Addressing and Pointers in C++: CS2 / C++. POGIL Activity Clearinghouse, 3(4). Retrieved from https://pac.pogil.org/index.php/pac/article/view/266
CS-POGIL Activity Writing Program
Copyright of this work and the permissions granted to users of the PAC are defined in the PAC Activity User License.