3 ms·
Note that sizeof is useful on the inner dimensions of multi-dimensional array arguments: the following prints the value of m. int foo(int n, int m, double
by unnah 4y ago
Note that sizeof is useful on the inner dimensions of multi-dimensional array arguments: the following prints the value of m.
int foo(int n, int m, double x[n][m]) {
printf("sizeof(x[0])=%zd\n", sizeof(x[0])/sizeof(double));
}