|
发表于 2020-10-10 04:15:01
|
显示全部楼层
LONG alSubscript[24][4][2];
//alSubscript is
//an array with 24 elements, each one of them is
//an array with 4 elements, each one of them is
//an array with 2 elements, each one of them is
//a LONG
LONG (*p1)[4][2] = alSubscript;
//p1 is
//a pointer, which point to
//an array with 4 elements, each one of them is
//an array with 2 elements, each one of them is
//a LONG
LONG ((*p2)[4])[2] = alSubscript;
//p1 is
//a pointer, which point to
//an array with 4 elements, each one of them is
//an array with 2 elements, each one of them is
//a LONG
LONG alArray[5][2] = {{1, 2}, {2, -1}, {0, 3}, {1, -1}, {1, -1}};
//alArray is
//an array with 5 elements, each one of them is
//an array with 2 elements, each one of them is
//a LONG
LONG (*p3[4])[2] = {0, aPPP, 0, 0};
//p3 is
//an array with 4 elements, each one of them is
//a pointer, which point to
//an array with 2 elements, each one of them is
//a LONG
|
|