Buona sera quando provo a chiamare questa funzione mi da errore di segmentazione
Potreste spiegarmi cosa sbaglio?codice:void *addNode(Btree *head, Btree *newNode) { if(head==NULL) head=newNode; else if(head->elemento>new->elemento) addNode(head->sx, newNode); else addNode(head->dx, newNode); }
Grazie in anticipo.