Obviously, running your code does not always end up with "segmentation fault", it is only a possibility.
int main()
{
[b]int array[10]; [/b]
array[11] = 0;
printf("stick with core\n");
}
Oops, I was wrong. Because you put the "array" array on the stack, there are no chances for "segmentation fault".
Peter TRoll 'developer' #REKT

The array is neither static nor in a function, so its not on the stack. More likely ( dependent on your setup) its pre-allocated in the programs data section.
The fact that you dont core any time is down to blind luck.