地址存储Storage of Addresses

地址所需的存储量和该地址的含义取决于编译器的实现。The amount of storage required for an address and the meaning of the address depend on the implementation of the compiler. 指向不同类型的指针不能保证具有相同的长度。Pointers to different types are not guaranteed to have the same length. 因此,sizeof(char *) 不必与 sizeof(int *) 相等。Therefore, sizeof(char *) is not necessarily equal to sizeof(int *).

Microsoft 专用Microsoft Specific

对于 Microsoft C 编译器,sizeof(char *) 与 sizeof(int *) 相等。For the Microsoft C compiler, sizeof(char *) is equal to sizeof(int *).

结束 Microsoft 专用END Microsoft Specific

另请参阅See Also

指针声明Pointer Declarations