China Naming Network - Auspicious day query - * Why *pNode has no complete statement? Code: typedef structure tag node

* Why *pNode has no complete statement? Code: typedef structure tag node

There is an order problem here: declare the structure tagNode first, and then declare the new name of the previous structure again with typedef. That's it? PNode pNext Of course, the compiler won't recognize it. change into

typedef? struct? Tag node

{

Charles? * pItem

tagNode? * pNext

}? * pNode or

typedef? struct? Tag node

{

Charles? * pItem

struct? tagNode? * pNext

}? * pNode or

typedef? struct? tagNode? * pNode

struct? Tag node

{

Charles? * pItem

pNode? pNext

}? ; Do it!