+ 5
The size of a pointer depends on your platform. On a 32 bit platform you need 32 bits or four bytes to store a memory address so sizeof any pointer will return 4. If sizeof(void*) is 2 you're probably running on a 16 bit platform. https://stackoverflow.com/questions/3853312/sizeof-void-pointer
28th Mar 2018, 5:18 PM
Scooby
Scooby - avatar