Menu
×
×
Correct!
Exercise:Fill in the missing parts to assign the following values to the car1 variable: "BMW" to
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;
}
Not CorrectClick here to try again. Correct!Next ❯ |
This will reset the score of ALL 46 exercises.
Are you sure you want to continue?