📜  链表 - C 编程语言代码示例

📅  最后修改于: 2022-03-11 15:04:41.544000             🧑  作者: Mango

代码示例1
node_t * head = NULL;
head = (node_t *) malloc(sizeof(node_t));
if (head == NULL) {
    return 1;
}

head->val = 1;
head->next = NULL;