If p points at an array, p+1 is the next element, not plus one byte. *(p+1) is the same as p[1].
If p points at an array, p+1 is the next element, not plus one byte. The compiler scales by sizeof(the thing you point at). *(p+1) is the same as p[1].
a[0]=4
a[1]=5
5
Each step highlights the matching C line. Program output appears only when a line that prints actually runs.
Five questions. Pick one answer each, then Check answers. The correct choice turns green.
1. *(p+1) with {4,5,6} is:
Next int.
2. p+1 is scaled by:
Pointer arithmetic.
3. p[1] compared to *(p+1):
Equivalent.
4. int *p = a; points at:
First element.
5. Another kind, p++ in a loop:
Walk the row.