This is a discussion on Seg fault? within the C Programming forums, part of the General Programming Boards category; oneuh...
Last edited by Stormweaver1; 04-03-2009 at 03:16 PM.
your add function does not update the T.table[kmode] pointer
why you are using different types for
new.table = malloc(s * sizeof (struct node*));
struct anode* table1 = T.table[kmod];
To be or not to be == true