The declaration for a union is identical in form to a structure declaration, with the reserved word union used in place of the reserved word struct.
查看答案
When working with unions, typically a second variable keeps track of the current data type stored in the union.
A ____ statement provides a simple method for creating a new and typically shorter name for an existing structure type.
A. #define
B. typedef
C. set
D. union
If you have declared a structure named Date, you can then make the name DATE a synonym for the terms struct Date, by using the statement ____.
A. typedef struct Date DATE;
B. typedef DATE struct Date;
C. #define struct Date DATE
D. #define DATE struct Date
____ creates an array of 10 PayRecord structures.
A. struct (PayRecord employee)[10];
B. struct[10] PayRecord employee;
C. struct PayRecord[10] employee;
D. struct PayRecord employee[10];