Unions
The storage referenced by a union variable can hold data of different types subject to the restriction that at any one time, the storage holds data of a single type.
Union numbers {
char letter;
int number;
float dec_number;
double precise_num;
};
union numbers num1;
num1.letter = 'A'; /* num1 stores 'A' */
num1.number = 5529; /* num1 stores 5529 */
num1.precise_num = 2.8; /* num1 stores 2.8 */