Is size of size_t always equal to the size of void *?
Or maybe there are some exceptions on some platforms/compilers?
Is size of size_t always equal to the size of void *?
Or maybe there are some exceptions on some platforms/compilers?
Although it's likely, there's no guarantee. If you want an unsigned integer type that is guaranteed to be able to represent a void *, see uintptr_t.