Is there an integer type with the same size as pointer? Guaranteed on all microarchitectures?
According to this Wikipedia page, in C99 your stdint.h header might declare intptr_t and uintptr_t, but then that of course requires
So in general I think this one is tough.
2.1m questions
2.1m answers
60 comments
57.0k users