SyntaxFix
Write A Post
Hire A Developer
Questions
IMHO, this looks better:
Chess *array = malloc(size * sizeof(Chess)); // array of pointers of size `size` for ( int i =0; i < SOME_VALUE; ++i ) { array[i] = (Chess) malloc(sizeof(Chess)); }