4.3.5.1 Structure and Union Qualifiers

The compiler supports the use of type qualifiers on structures. When a qualifier is applied to a structure, all of its members will inherit this qualification. In the following example the structure is qualified const.

const struct {
  int number;
  int *ptr;
} record = { 0x55, &i };

In this case, each structure member will be read-only. Remember that all members should be initialized if a structure is const, as they cannot be initialized at runtime.