Re:Single assignment C
by mpweiher on Sunday December 22, 2013 @11:29AM
(#6950705)
Where hello_hi might have gotten confused is that in usage, a pointer of array pointers looks the same as a 2D array. So if you only see x[a][b] it could actually be dereferencing an array of pointers to integers.
Since we have the declaration, it's unambiguously the 2D array that you described.
EDIT: I might be seeing things, but I think you have your order mixed up, x[a][b] is not x_1d[a + 83b], but rather x_1d[a83+b]
Since we have the declaration, it's unambiguously the 2D array that you described.
EDIT: I might be seeing things, but I think you have your order mixed up, x[a][b] is not x_1d[a + 83b], but rather x_1d[a83+b]