输出结果为什么不是//14 13 12 8 4 ?
#include "stdafx.h"
int a_set[4][4] = {
0,1,2,3,
4,5,6,7,
8,9,10,11,
12,13,14,15
};
void Matrix_sh(int (*p)[4]){
int top_s = 2;
int bottom_s = 3;
for(int m =bottom_s;m>0;m--){
printf("%d ",p[4][m]);
}
for(int z =top_s;z>0;z--){
printf("%d ",p[z][0]);
}
printf("\n");
}
int _tmain(int argc, _TCHAR* argv[]){
Matrix_sh(a_set);
return 0;
}