Cosa dovrebbe fare questa funzione?int random_array(int *array, int estremo_x, int estremo_y, int n){
srand((unsigned) time(NULL));
int i;
for (i = 0; i < n; i++)
array[i] = rand() % (estremo_x - estremo_y) + estremo_x;
return n;
}
Cosa dovrebbe fare questa funzione?int random_array(int *array, int estremo_x, int estremo_y, int n){
srand((unsigned) time(NULL));
int i;
for (i = 0; i < n; i++)
array[i] = rand() % (estremo_x - estremo_y) + estremo_x;
return n;
}
"Se riesci a passare un pomeriggio assolutamente inutile in modo assolutamente inutile, hai imparato a vivere."