Array Addressing and Pointers in C++
CS2 / C++
Abstract
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
Downloads
Published
2023-01-09
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
Issue
Section
CS-POGIL Activity Writing Program
License
Copyright of this work and the permissions granted to users of the PAC are defined in the PAC Activity User License.