9-2 多维数组一瞥(p213)

int apricot[2][3][5];
int (*r)[5] = apricot[0];
int *t = apricot[0][0];

r的步进是 20 t的步进是 4

如果把一个C语言的矩阵传递给一个fortran程序,矩阵就会自动转置

Last updated

Was this helpful?