What I am trying to accomplish here is a dictionary with linked list. There is an array of node pointers. I am trying to initialize each array pointer using malloc. When I remove the for loop, it works fine.
#include <stdbool.h>
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
#include "dictionary.h"
unsigned int count = 0;
unsigned int collisions = 0;
unsigned long index = 0;
#define HASHTABLE_SIZE 1999099
// Initialize struct for linked list.
typedef struct node{
     char word[46];
     struct node *next;
  } node;
// Initialize an array of node pointers.
node *hashtable[HASHTABLE_SIZE];
for(unsigned long i = 0; i < HASHTABLE_SIZE; i++)
  //   Error here reads expected "=",";","asm" or __attribute__ before "<"
  {
    hashtable[i] = (node *)malloc(sizeof(node));
  }
 
     
     
     
    