Any idea why this is giving me a segmentation fault ?
It prints the first three well and then just gives me a segmentation faultCode:for (j=0;j<=g->n_vertices;j++){ printf("\t\t EDGE %d %d \n",aux2->numerovertice,aux2->a->destino->numerovertice); if(aux2->a->prox->destino!=NULL) { printf("\t\t EDGE %d %d \n",aux2->numerovertice,aux2->a->prox->destino->numerovertice);} aux2=aux2->seg; }