Multi-dimensional arrays in C - Printable Version +- QP School (https://qomplainerzschool.lima-city.de) +-- Forum: Tutorials (https://qomplainerzschool.lima-city.de/forumdisplay.php?fid=3) +--- Forum: C 18 Tutorials (https://qomplainerzschool.lima-city.de/forumdisplay.php?fid=32) +--- Thread: Multi-dimensional arrays in C (/showthread.php?tid=5089) |
Multi-dimensional arrays in C - Qomplainerz - 07-25-2023 Multi-dimensional arrays are arrays of arrays. int matrix[3][3] = { {1, 2, 3}, {4, 5, 6}, {7, 8, 9} }; printf("%d\n", matrix[1][2]); // Output: 6 |