[FZH] 哪位同学用的是64位的机器,帮忙测试一下!

David Young dhyang555 at gmail.com
Sat Jun 25 14:11:56 UTC 2011


在64位机器中指针变量是占用8个字节么?
#include<stdio.h>
int main()
{
   char *p;
   printf("%d\n",sizeof(p));
   return 0;
}

编译运行,贴出结果,谢谢!


More information about the Chinese mailing list