Course Content
C++ Pointers and References
C++ Pointers and References
3. References Fundamentals
Array Pointer Arithmetic Practice
*arr | **arr |
*(arr + row) | **(arr + column) |
Task
Swipe to begin your solution
- Access the last element of the second row of the array.
- Access the fourth element of the third row of the array.
- Output the sum of these elements.
Solution
solution
Switch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?
Thanks for your feedback!
Section 2. Chapter 4
Array Pointer Arithmetic Practice
*arr | **arr |
*(arr + row) | **(arr + column) |
Task
Swipe to begin your solution
- Access the last element of the second row of the array.
- Access the fourth element of the third row of the array.
- Output the sum of these elements.
Solution
solution
Switch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?
Thanks for your feedback!
Section 2. Chapter 4
Switch to desktop for real-world practiceContinue from where you are using one of the options below