struct mystruct{
int a;
int b;
};
struct mystruct* p=malloc(sizeof(struct mystruct)*5);
/*要取下一个结构体,指针+1*/
p+1;
关于指向结构体的指针
最新推荐文章于 2023-08-16 17:31:31 发布
struct mystruct{
int a;
int b;
};
struct mystruct* p=malloc(sizeof(struct mystruct)*5);
/*要取下一个结构体,指针+1*/
p+1;