When you change where a pointer points to in the following manner:
Is it relative to the base type? That means to say, in this case it would point one byte ahead, then six, then five, then at it's original spot. If it it was an [32-bit] int pointer, it would point four, twenty-four, twenty, then zero bytes ahead of the original value. Is this correct? I would think so. Or incrementing and decrementing pointer addresses always on the granularity of one byte? Thank you.Code:char *ptr; ptr++; ptr+=5; ptr--; ptr-=5;