回13楼:
您说这个我还没太理解想说明啥。虽然极端点,但我想表达的如下:
#include <stdio.h>
int main(int argc, char *argv[])
{
const int matrix[][5] =
{
{ 1,
4,
7, 11, 15 },
{ 2,
5,
8, 12, 19 },
{ 3,
6,
9, 16, 22 },
{ 10, 13, 14, 17, 24 },
{ 18, 21, 23, 26, 30 }
};
printf("%d\n", **matrix);
printf("%d\n", *matrix[0]);
printf("%d\n", matrix[0][0]);
return 0;
}