#include <iostream>
using namespace std;
int main()
{
int i,j,a[][3]={{1,2,3},{4,5,6}};
for(i=0;i<2;i++)
for(j=0;j<3;j++)
cout<<a[i][j]<<'\t';
cout<<endl;
for(i=0;i<2;i++)
for(j=0;j<3;j++)
cout<<*(*(a+i)+j)<<'\t';
cout<<endl;
system("pause");
}
温馨提示:答案为网友推荐,仅供参考