I have the following struct:
struct postsTempo {
int ano;
ShortData dias[373];
struct postsTempo* prox;
};
When I do malloc(sizeof(struct postsTempo))
have I allocated everything that I need or do i still need to malloc
the ShortData
array? I cant add anything to that array...