struct A
{
int a;
int b;
};
A *point = malloc(sizeof(struct A));
point->a = 1;
A object;
object.a = 1;
->是指针指向其成员的运算符 .是结构体的成员运算符
struct A
{
int a;
int b;
};
A *point = malloc(sizeof(struct A));
point->a = 1;
A object;
object.a = 1;
->是指针指向其成员的运算符 .是结构体的成员运算符