What happens in C when you create an array of negative length? For instance:
int n = -35; int testArray[n]; for(int i = 0; i < 10; i++) testArray[i]=i+1;