struct TV_programme {
char* title;
int hour, minute;
float budget;
};
- Write a declaration for a variable of this type called Brookside.
struct TV_programme Brookside;
- Show an assignment to the budget field of Brookside, setting the value 75.62.
Brookside.budget = 75.62;
Back to notes on structs