To malloc a huge array in C

Viewed 398

I have an array int Array[17000][10][6][6]

But I got segmentation fault when I declare it.

So far I have been just using small arrays, I know that I have to use malloc, but I don't know how and I've been having a had time trying to understand the tutorials that I found.

Thanks for your help in advance

Tamalero

3 Answers
Related