Non mi va mai nel ramo else.codice:void in_coda(BIN bin, LISTA* l){ if(l==NULL){ LISTA aux=calloc(1, sizeof(struct CELLA)); aux->info.chiave=bin.chiave; aux->info.valore=bin.valore; aux->next=NULL; l=aux; } else{ printf("l non nulla...\n"); in_coda(bin, (*l)->next); } }
Sapete dirmi perchè? Non mi sembra di aver fatto grossi errori.

Rispondi quotando