When performing pointer arithmetic, the size of the value to add to a pointer is automatically scaled to the size of the pointer's type. For instance, when adding a value to a pointer to a four-byte integer, the value will be scaled by four bytes at a timea factor of four.
Improper use of pointer arithmetic can lead to miscalculations that result in subtle and hard to spot coding errors.
...