When performing pointer arithmetic, the size of the value to add to a pointer is automatically scaled to the size of the pointer's typetype of the pointed-to object. For instance, when adding a value to a pointer to a four-byte integer, the value is scaled by a factor of four and then added to the pointer. Failing to understand how pointer arithmetic works can lead to miscalculations that result in serious errors, such as buffer overflows.
...