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

Contenido del Curso

C++ Pointers and References

C++ Pointers and References

1. Pointers Fundamentals
2. Pointer Arithmetic
3. References Fundamentals
4. Dynamic Memory Allocation

Array Pointer Arithmetic Practice

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

Tarea

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

Tarea

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

Cambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones

¿Todo estuvo claro?

Sección 2. Capítulo 4
toggle bottom row

Array Pointer Arithmetic Practice

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

Tarea

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

Tarea

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

Cambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones

¿Todo estuvo claro?

Sección 2. Capítulo 4
toggle bottom row

Array Pointer Arithmetic Practice

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

Tarea

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

Tarea

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

Cambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones

¿Todo estuvo claro?

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

Tarea

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

Cambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
Sección 2. Capítulo 4
Cambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
We're sorry to hear that something went wrong. What happened?
some-alt