+ 1
Why the pointer char size is 8 in here ? And why all size is equal ?
3 odpowiedzi
+ 6
sizeof of pointers differ between systems. 4 for 32-bit. 8 for 64-bit.
+ 3
A pointer contains a memory address, so its size is the same regardless of what it points to. As Jomari Pantorilla said, the size of an address is system-dependant, and is 8 bytes on 64-bit systems (8*8 = 64).
0
its for the memory of bits which it consumes and pointer char size is 8.