摘要:
int main(){ const int a=2; int *p = (int*)&a; *p=3; printf("%d , %d\n",*p,a);} 这段代码输出是什么? 直接gcc编译,不加参数,输出结果3,3 gcc -O 编译,输出结果3,2 代码自动编译优化是的printf的时候直接 阅读全文
posted @ 2016-03-03 11:11
hitcms
阅读(409)
评论(0)
推荐(0)