1st. In dictionary.c the line: node *table[N]; declares an array of pointers or an array of nodes? 2nd. When I code: table[index] = n; table receive a value for ->word and ->next? or just points to n? 3rd. I can't reproduce neither of behaviors in code. Please can someone explain this point?
1 Answer
I've already undestood. table[index] has ->word and ->next. To reproduce the word must print table[index]->word[i] in a for loop. In fact, the memory address is because table[index]->word is a pointer to the first character of the word.