📅  最后修改于: 2022-03-11 14:44:47.265000             🧑  作者: Mango
struct car {
int year
int vin;
}
struct car myCar;
p_myCar = &myCar;
myCar.year = 1995;
// '->' allows you to use the '.' with pointers
p_myCar->vin = 1234567;