C语言结构体

2025-02-25 09:29:04
推荐回答(2个)
回答1:

你的struct是个匿名结构体,要赋一个名字,如typedef struct Node
然后将next的定义改为struct Node* next;

回答2:

第六行,指针类型有问题