Hi, I'm pretty new at programming and I'm getting into linked lists. As part of a word database type thing I'm writing a function searchWord that calls a function named searchNodeWord . searchNodeWord runs through a singly linked list and assigns the value of the correct node (based on a parameter called strKey) to a parameter called pResult. searchWord should then print one of the strings in the node stored in pResult.

I't works fine until I try to printf the string in the pResult in [i]searchWord[\i]. I can use printf while I'm still in searchNodeWord just to see that I got the right node, but I can't seem to use it outside of the function. The compiler gives me a "Dereferencing pointer to incomplete type" error at that point.