經安全檢測,此網站為安全網站,請放心前往原始網址!

c++ - Is the sizeof(some pointer) always equal to four? - Stack Overflow

Just another exception to the already posted list. On 32-bit platforms, pointers can take 6, not 4, bytes: #include #include int main() { char far* ptr; // note that this is a far pointer printf( "%d\n", sizeof( ptr)); return EXIT_SUCCESS; }

stackoverflow.com

網址安全性掃描由 google 提供