#include #include int main(int argc, char **argv) { int user1 = 0; int space_needed; int *a1, **array; int row, col; printf("Enter size of array: "); scanf("%d",&user1); space_needed = (user1+1)*user1/2; a1 = malloc(space_needed); array = malloc(user1*sizeof(int*)); for (row=0,offset=0; row