Realloc the first element of an array of structs - invalid old size; problems with (*pointer + 0)

前端 未结 0 1828
夕颜
夕颜 2021-01-17 00:44

I have an array of structs sth

#define NUM_ELEM 8


typedef struct sth {
    int* tab;
    int lenght;
} sth;

...

int main(void) {
    sth* arr         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题