typedef struct Expected {
const int number;
const char operand;
} Expected;
Expected array[1];
Expected e = {1, 'c'};
array[0] = e;
I don't understand why you cannot add to a struct array like that. Do I have to calculate the positions in memory myself?