2 ms·
> a pointer is the same length for any data type, even pointers to functions No that's not guaranteed despite being common. And function pointers are not even
by 0x09 13y ago
> a pointer is the same length for any data type, even pointers to functions
No that's not guaranteed despite being common. And function pointers are not even guaranteed to be representable by void* (POSIX08 does mandate it though.)
Relevant sections of the standard here http://stackoverflow.com/a/3941867/1546653 http://stackoverflow.com/a/3941867/1546653