摘要: #include<stdio.h>void fun(int i){ printf("%d\n",i);}int main(){ int i = 5; fun(5); fun; return 0;} 输出5,为什么不报错呢输出#x 阅读全文
posted @ 2012-10-13 19:47 10,000 hours coder 阅读(360) 评论(0) 推荐(0) 编辑
摘要: ACD #include<iostream>using namespace std;int main(){ int a[3][3]={{1,2,3},{4,5,6},{7,8,9}}; //a[2][2] cout<<*(&a[0][0]+3*2+2)<<endl; //cout<<*((a+2)[2])<<endl; cout<<*(*(a+2)... 阅读全文
posted @ 2012-10-13 19:08 10,000 hours coder 阅读(100) 评论(0) 推荐(0) 编辑