📌  相关文章
📜  在 C 中创建列表 - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:17.443000             🧑  作者: Mango

代码示例1
typedef struct node{
    int x;
    struct node *next;
}node;

node *create_node(int x){
    node *new_node = malloc(sizeof(node));
    new_node->x = x;
    new_node->next = NULL;
    return new_node;
}