Multidimensional Arrays
Arrays of arrays, stored row by row (row-major).
Easy
float m[3][4]; — m[r][c]. Pass to functions as void f(float m[][4], int rows) or C99 void f(int r, int c, float m[r][c]).
Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.
Discussion (0)
Sign in or join free to ask questions and discuss this topic.