在Xcode 6中:
int i = 17;
printf ("i stores its value at %p\n", &i); 我会看到这样的事情:
i stores its value at 0xbffff738 但是在Xcode 7中,它的输出格式是:
i stores its value at 0x7fff5fbff7cc有人能解释一下这种区别吗?
发布于 2015-09-23 00:02:02
这与建筑有关。第一个是32位地址.第二个地址是64位地址.
https://stackoverflow.com/questions/32728522
复制相似问题