Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
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

Pointer Arithmetic Practice

Tarea

  • Create a pointer that points to the first variable.
  • Find the distance between memory locations of this two variables.
  • Using the pointer arithmetic move the pointer to the location of the second variable.
  • Modify the value of dereferenced pointer to 50 and output the second variable.

Tarea

  • Create a pointer that points to the first variable.
  • Find the distance between memory locations of this two variables.
  • Using the pointer arithmetic move the pointer to the location of the second variable.
  • Modify the value of dereferenced pointer to 50 and output the second variable.

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 2
toggle bottom row

Pointer Arithmetic Practice

Tarea

  • Create a pointer that points to the first variable.
  • Find the distance between memory locations of this two variables.
  • Using the pointer arithmetic move the pointer to the location of the second variable.
  • Modify the value of dereferenced pointer to 50 and output the second variable.

Tarea

  • Create a pointer that points to the first variable.
  • Find the distance between memory locations of this two variables.
  • Using the pointer arithmetic move the pointer to the location of the second variable.
  • Modify the value of dereferenced pointer to 50 and output the second variable.

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 2
toggle bottom row

Pointer Arithmetic Practice

Tarea

  • Create a pointer that points to the first variable.
  • Find the distance between memory locations of this two variables.
  • Using the pointer arithmetic move the pointer to the location of the second variable.
  • Modify the value of dereferenced pointer to 50 and output the second variable.

Tarea

  • Create a pointer that points to the first variable.
  • Find the distance between memory locations of this two variables.
  • Using the pointer arithmetic move the pointer to the location of the second variable.
  • Modify the value of dereferenced pointer to 50 and output the second variable.

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

¿Todo estuvo claro?

Tarea

  • Create a pointer that points to the first variable.
  • Find the distance between memory locations of this two variables.
  • Using the pointer arithmetic move the pointer to the location of the second variable.
  • Modify the value of dereferenced pointer to 50 and output the second variable.

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 2
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