申请堆空间时出现的错误 #include #include #include struct foo{ int a; //4 char b[6]; //8 char *p; //4 char c[0];};#define EXPAND_MEM 15int main(){ printf("size =%u\n",sizeof(struct foo)); struct foo *pf = ( linux 2023-09-16 46 点赞 0 评论 69 浏览