1 post
3
677
First, the solution to your problem: 1a) exchange the declaration int *diamantes for int diamantes 1b) Or else, do int *diamantes = (int*) malloc(sizeof(int)) 2) If you have done 1a, change…