【C语言】结构体

不能定义

struct  Node
{
        struct Node a;
        int b; 
}   

这样的结构,因为为了建立Node 需要 建立一个新的Node a, 可为了建立Node a, 还需要再建立Node 循环下去 无法执行。

只能建立 包含相同结构指针的结构

struct  Node
{
        struct Node * a;
        int b; 
}   
原文地址:https://www.cnblogs.com/dplearning/p/3877820.html