The size of the objects is implicitly taken into account by the compiler, it knows the size of the objects by the type of the pointer.