Lesson 19: Pointer arithmetic & arrays
You can do arithmetic on pointers — but smart arithmetic: p + 1 doesn't advance by one byte, it advances by one whole element, i.e. by sizeof(type) bytes. Here the big secret of arrays is revealed: an array name 'decays' to the address of its first element — arr is exactly &arr[0]. From this follows