一直显示cd是未定义的标识符
node前面加上struct,如下struct node * c = (struct node *)a;
改为
struct node* c=...;
试试你只是声明了struct没有进行typedef,所以前面应该要加struct关键字有帮助望采纳