Why do I get a segfault in C from declaring a large array on the stack?

前端 未结 5 574
野趣味
野趣味 2020-11-27 08:59

I get a segfault from this line of code:

int fatblob[1820][286][5];

Why is that?

5条回答
提交回复
热议问题