填写缺失的部分,将以下值赋给 car1 变量
"BMW" 赋给 brand
,"X5" 赋给 model
,1999 赋给 year
。
struct Car { char brand[50]; char model[50]; int year; }; int main() { struct Car car1 = {@(5), @(4), @(4)}; return 0; }
struct Car { char brand[50]; char model[50]; int year; }; int main() { struct Car car1 = {"BMW", "X5", 1999}; return 0; }