/* FILE array.c History see array.h */ #include #include void create_int_array ( int size, int** array ) { int i; if (size<=0 || size>=INT_MAX) { printf("Invalid size for the array"); exit(0); } *array=(int*)(malloc(size*sizeof(int))); for(i=0;i=INT_MAX) { printf("Invalid size for the array"); exit(0); } if (*array==NULL) { printf("Insufficient memory"); exit(0); } for(i=0;i