I need some help passing a array of integers into a hash table by chaining. So if the array is filled it that location it will go to a linked list of the index. any ideas on how to get this done. This is what i have so far.
chainFunc(int size, int *keysB) //size of the array and a array of keys.
int Hashtable[size];
for (i=0, i < size, i++) //increment thru the array of keysB
{
index = *keysB % size //index of keys
HashTable[index] = *keysB //assign keys array to another array with correct index.
}