HPC Magazine March 2014 - An Introduction to Performance Programming - part II.
Listing 2 - Example of multidimensional arrays.
void matrix_sum_mda(int n, double A[n][n], double B[n][n]) { for (int i = 0 ; i < n ; i++) { for (int j = 0 ; j < n ; j++) { A[i][j] += B[i][j]; } } }