typedef struct {
char p;
int c;
} A;

typedef struct {
A s[8][8]; /* <-- array */
int t;
int w;
} B;