probably that you are writing into an array index , ie, memory that you have not allocated, like if you declared int array[6] then tried to put something in array[7]
if in your example you have not yet changed your loop to only count to the maximum number of elements you declared then it will definitely crash with seg fault
edit:
see comments >
Code:
int numInts;
int i;
int intArray[500]; //this says you have allocated 500 spaces to hold integers
printf("Please enter amount of integers you want to generate (min is 5 and max is 100)\n");
scanf("%d", &numInts);
if ((numInts >= 5) && (numInts <= 100)) { //what is this for in relation the the array size you allocated?
/* generate numInts numbers */
for (i = 0; i < 10000000; i++) { //this should be MAX_ELEMENTS' or something, previously declared for clarity and reusability
intArray[100] = i; //this as already explained means you are just going to copy over the contents of array element 100 repeatedly.
//you need to swap the '100' in the box for a counting variable, like the 'i' in your loop,
//that way it will access each element one after the other and write to them.
//it will also crash with a seg fault if the number'i' is more than the number of elements you first declared.
}
remember array index numbering starts at array[0], ie the first element is not numbered [1], so in your example the 500th is numbered [499] remember this...