In Pset 5, the speller problem, we are told to use the following code:
strcopy(new_node -> word, word);
to copy the word from the dictionary into the newly create node, called new_node in this instance. My understanding of the str_copy function is that it works as follows:
strcopy(string destination, string source);
I simply cannot understand why new_node -> word is the string destination. Shouldn't the destination simply be new_node?