Ch Standard Demos
ISO C90 Standard
Wide characters
ISO C99 Standard
C++ features
Complex IEEE floating-point arithmetic
Assumed-shape arrays
Nested functions
Interactive C statement execution
Interactive command shell
Shell Programming
Safe Ch
Ch applets
String Type
Adjustable array bounds
Auto array bound checking
Socket/Winsock
POSIX
Unix utilities for Windows
Windows
GTK+
X/Motif
OpenGL
Toolkits Demos
CGI
ODBC
ChExcel
Ch Professional Demos
Computational array
Plotting
Numerical analysis
C LAPACK functions
Multi-dimensional arrays of different sizes can be passed to the same function argument using assumed-shape array. #include <stdio.h> void func(int a[:][:]) // a is assumed-shape array { printf("a[1][1] = %d\n", a[1][1]); } int main() { int a1[2][3] = {{1,2,3}, {4,5,6}}; int a2[3][4] = {{1,2,3,4}, {5,6,7,8}, {9,10,11,12}}; /* pass a1 and a2 with different sizes to func() */ func(a1); func(a2); return 0; }
The output is:

a[1][1] = 5
a[1][1] = 6