#include "aux.h" void generate_array(int n, int **array, int *res){ int i; *res = 0; *array = (int*)malloc(n*sizeof(int)); for(i=0; i