codice: array = (int *) malloc(10 * ind2 * sizeof(int))
array = (int *) malloc(10 * ind2 * sizeof(int))
Amaro C++, il gusto pieno dell'undefined behavior.
Regole del Forum