Quindi
codice:
#include <stdio.h>
#include <stdlib.h>
int *nuovoArrayInt(int n);
int main(){
    int numero = 5, i=0;
    int *array;
    *array = *nuovoArrayInt(numero);
    
}

int *nuovoArrayInt(int n){
    return (int*)malloc(n*sizeof(int));
}
? Perché facendo così il programma crasha appena lo eseguo