Some questions on structs in C

The following questions refer to this struct.
struct TV_programme {
   char* title;
   int hour, minute;
   float budget;
};
  1. Write a declaration for a variable of this type called Brookside.

  2. Show an assignment to the budget field of Brookside, setting the value 75.62.

Answers to these questions


Back to notes on structs