c - malloc an array of struct pointers - Stack Overflow
I have the following struct: typedef struct _chess { int **array; int size; struct _chess *parent; } chess; and I have: typedef struct _chess *Chess; Now, I want to create an array of ... hmm.. I did Chess *array = malloc(size * sizeof(Chess)); and then f...