Array Pointer Arithmetic Practice
*arr | **arr |
*(arr + row) | **(arr + column) |
Oppgave
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.
Løsning
solution.cpp
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 2. Kapittel 4
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår
Awesome!
Completion rate improved to 5.88
Array Pointer Arithmetic Practice
Sveip for å vise menyen
*arr | **arr |
*(arr + row) | **(arr + column) |
Oppgave
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.
Løsning
solution.cpp
Alt var klart?
Takk for tilbakemeldingene dine!
Awesome!
Completion rate improved to 5.88Seksjon 2. Kapittel 4
single