(no title)
tordek | 15 years ago
+-----------+
| +-+ |
| ^ | |
char *foo[10][20];
^ ^ | |
| +---+ |
+---------------+
* foo is* an array of ten arrays of 20
* pointers to
* char
rntz|15 years ago
This is indeed rather nitpickish of me, but on the other hand, one thing that you at least need to know in that case is in what order you read the numbers - left-to-right, or right-to-left (is foo[10][20] a 10-array of 20-arrays or a 20-array of 10-arrays?). Not mentioning this leaves one (at least, it left me) with the impression that multiple occurrences were already handled by this rule as written, which is, as demonstrated, false.