📅  最后修改于: 2022-03-11 15:04:34.693000             🧑  作者: Mango
void push(node_t ** head, int val) {
node_t * new_node;
new_node = (node_t *) malloc(sizeof(node_t));
new_node->val = val;
new_node->next = *head;
*head = new_node;
}