摘要: #include <iostream>using namespace std;int main(){int a[4] = {0,1,2,3};int (*p)[4];p = &a;for (int i = 0;i <= 3;){cout<<(*p)[i++]<<endl;} //数组指针 //int *pi[4];int b[4];int *pi[4]={&b[0],&b[1],&b[2],&b[3]};for (int j = 0; j <= 3;j++){*pi[j] = j;}for (int k = 阅读全文
posted @ 2011-11-27 22:15 rookieeeeee 阅读(204) 评论(0) 推荐(0) 编辑