C :: Memory access violation randomly appears in Linked List

前端 未结 0 470
庸人自扰
庸人自扰 2020-12-04 17:49

so here is the code that gives me headache :

void newCopy(ListNode* n, List* l) {
    if (n == NULL) { return; }

    if (n->next == NULL) {
        push(n         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题