Why is my pogram crashing when I try to initialize my pointer? : So my program runs the numElements method but than crashes, am I declaring my variables wrong or is my pointer variable wrong?
   
    Header.h
    typedef struct Node {
    int number;
    struct Node *pNext;
    }Node;

    Other.h
    int i,j,c,numElem;
    time_t t;
    srand((unsigned) time(&t));
    numElem = numElements();
    pNode[numElem];
    
    for(i = 0; i < numElem; i++){
        
        pNode[i].number = (rand() % (MAX - MIN)) + MIN;
        //c = (rand() % (MAX - MIN)) + MIN;
        printf("P is %d\n",pNode[i].number);
        printf("C = %d",c);

    }