It appears line 6 needs to be changed as well, to the following:
int *nums = new int[SIZE];
It seems windows doesn't like to initialize such large arrays the way you were using, but this way will work fine.
This is a C forum ..... the operator new wont work with a C compiler