La funzione nuovoArrayInt deve restituire un puntatore ad int, quindi array deve essere un puntatore ad int.