📅  最后修改于: 2022-03-11 14:44:50.286000             🧑  作者: Mango
typedef struct{
int vin;
char* make;
char* model;
int year;
double fee;
}car;
car TempCar;
tempCar->vin = 1234; // metodo 1
(*tempCar).make = "GM"; // metodo 2
tempCar->year = 1999;
tempCar->fee = 20.5;