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
course content

Conteúdo do Curso

C++ Pointers and References

Array Pointer Arithmetic PracticeArray Pointer Arithmetic Practice

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

Tarefa

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

Tudo estava claro?

Seção 2. Capítulo 4
toggle bottom row
course content

Conteúdo do Curso

C++ Pointers and References

Array Pointer Arithmetic PracticeArray Pointer Arithmetic Practice

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

Tarefa

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

Tudo estava claro?

Seção 2. Capítulo 4
toggle bottom row
some-alt