> A pointer contains only an address. It does not contain the size of the pointed-to object.
The compiler does sizeof(*ptr) for you.
ptr++ always ends up pointing to the next object of the type being pointed to.