Is this right new_node -> next = hashtable[hash];
right? Assuming hashtable new_node
is an arraypointing to the head of ints,the list and new_node-> next is a node pointer, then something's amiss.
Don't know if this is roothashtable[hash] -> next = new_node;
head of the problemlist is pointing to new_node. As @Blauelf said, but it jumped off the pagepointer loop.