Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Array Pointer Arithmetic Practice | Pointer Arithmetic
C++ Pointers and References

Array Pointer Arithmetic PracticeArray Pointer Arithmetic Practice

Access the row
Access the column
*arr
**arr
*(arr + row)
*(*arr + column)
Click👇

Завдання

  • 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.

Все було зрозуміло?

Секція 2. Розділ 4
toggle bottom row
course content

Зміст курсу

C++ Pointers and References

Array Pointer Arithmetic PracticeArray Pointer Arithmetic Practice

Access the row
Access the column
*arr
**arr
*(arr + row)
*(*arr + column)
Click👇

Завдання

  • 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.

Все було зрозуміло?

Секція 2. Розділ 4
toggle bottom row
some-alt