codice:typedef int itemType; typedef struct listNode listNode; typedef listNode *List; struct listNode { itemType item; List next; }; void freeListR(List head){ if (head==NULL) return; freeListR(head->next); free(head); }
Salve, nella funzione ricorsiva freelistr non riesco a capire come si faccia ad arivare all ultimariga di codice free(head) se appena prima c'è la chiamata ricorsiva...