Your question is very unclear, but I suspect that you are trying to create a large multidimensional array (matrix) as a local variable (auto variable) for some function (possibly the main one), and this does not work.
int foo(int boo, int doo) {
int big_array[REALLY_BIG];
...
, C , . , , ( , ), , , , , .
, , - -.
static , . , ( ), , , , , .
malloc calloc .
- ( * nix) - , . mmap .
mmap static , (, mmap, ) , . , .