You printed the size of a pointer (happening to be pointing to character - but this is irrelevant).
Obviously the size does not depend on the contents of the memory area being pointed to. The size's equaling 4 should not be a big surprise on a 32 bit platform.