Cursusinhoud
C++ Pointers and References
C++ Pointers and References
3. References Fundamentals
Array Pointer Arithmetic Practice
*arr | **arr |
*(arr + row) | **(arr + column) |
Taak
Swipe to start coding
- 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.
Oplossing
solution
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 2. Hoofdstuk 4
Array Pointer Arithmetic Practice
*arr | **arr |
*(arr + row) | **(arr + column) |
Taak
Swipe to start coding
- 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.
Oplossing
solution
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 2. Hoofdstuk 4