I'm trying to create a two dimensional array of character in c program as:
char array[1000000][10];
but the program output "Segmentation fault" in the runtime. I tried to create it with 100,000 and it worked, but 1,000,000 didn't work. What is the reason that makes this line of code causes Segmentation fault?