void main() { inta[3][4]={1,3,5,7,9,11,13,15,17,19,21,23}; int(*p)[4]=a,i,j,k=0; for(i=0,i

问题描述:

void main() { inta[3][4]={1,3,5,7,9,11,13,15,17,19,21,23}; int(*p)[4]=a,i,j,k=0; for(i=0,i

2维数组a[3][4]={{1,3,5,7}{9,11,13,15}{17,19,21,23}}这样子可能楼主清楚些, int(*p)[4]=a也就是把a2维数组赋给2维指针p,接下来执行循环首先 i=0,j=0 k=k+*(*(p+0)+0)也就是k+a数组的0 0就是1,k=1;然后 i=0,...