摘要: #include<stdio.h>int main(){ const int a = 1; int *p = (int*)&a; *p = 2; printf("%d\n",a); printf("%d\n",*p); return 0;} 答案为1 2环境为vs2008 与codepad在线 阅读全文
posted @ 2012-10-07 16:35 10,000 hours coder 阅读(98) 评论(0) 推荐(0) 编辑