C多维数组的定义
typedef int Five[5] ;
int five[5];
typedef Five* PFive ;
int (*pfive)[5];
typedef Five ThreeFive[3];
int threefive[3][5];
typedef ThreeFive* PThreeFive;
int (*pthreefive)[3][5];
typedef ThreeFive TwoThreeFive[2] ;
int towthreefive[2][3][5];
typedef TwoThreeFive* PTwoThreeFive;
int (*ptwothreefive)[2][3][5];
Five a={1,2,3,4,5};
Five b={6,7,8,9,10};
Five c={2,3,5,34,34};
PFive pa = &a;
ThreeFive tf;
PThreeFive ptf = &tf ;
TwoThreeFive ttf ;
PTwoThreeFive pttf = &ttf ;
浙公网安备 33010602011771号