0

我在尝试实现 Queue 时遇到了这行代码。我可以知道在结构中创建结构有什么作用吗?为什么例如。我可以使用结构变量 q, struct* Queue q, 比如q->rear->next = address_of_node

struct Node{
    int data ;
    struct Node* next;
};

struct Queue
{
    struct Node *front; //what does this mean?
    struct Node *rear;
};
4

0 回答 0