Oppure
float leggi(float v[5]){ printf("inserisci 5 numeri:\n"); for(int i=0;i<5;i++){ scanf("%f",&v[i]); }}