Fill in the missing parts to assign the following values to the car1 variable:
"BMW" to brand
, "X5" to model
and 1999 to 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;
}