Conteúdo do Curso
C++ Pointers and References
C++ Pointers and References
3. References Fundamentals
Array Pointer Arithmetic Practice
*arr | **arr |
*(arr + row) | **(arr + column) |
Tarefa
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.
Solução
solution
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 2. Capítulo 4
Array Pointer Arithmetic Practice
*arr | **arr |
*(arr + row) | **(arr + column) |
Tarefa
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.
Solução
solution
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 2. Capítulo 4