gcc: Pointers to Arrays

1 
1 6.24 Pointers to Arrays with Qualifiers Work as Expected
1 ========================================================
1 
1 In GNU C, pointers to arrays with qualifiers work similar to pointers to
1 other qualified types.  For example, a value of type 'int (*)[5]' can be
1 used to initialize a variable of type 'const int (*)[5]'.  These types
1 are incompatible in ISO C because the 'const' qualifier is formally
1 attached to the element type of the array and not the array itself.
1 
1      extern void
1      transpose (int N, int M, double out[M][N], const double in[N][M]);
1      double x[3][2];
1      double y[2][3];
1      ...
1      transpose(3, 2, y, x);
1