结构体初始化和new delete

int *p;

p=new int[100];

delete []p;

结构体中的指针需要初始化

posted @ 2019-11-18 22:13  Tomorrow1126  阅读(663)  评论(0编辑  收藏  举报