C'è anche questa

scanf ("%d", scelta);

che dovrebbe essere

scanf ("%d", &scelta);