home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / CH_07 / 421.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-21  |  930KB  |  2550x3300
Labels: bench | book | collection | half binding | paper | person | reckoner
OCR: Unions 7.6 Unions A union another aggregate data type that is designed to hold members of differ- ent types. It is like a structure in that a list of 'members declared However, it dif ferent fers instant. from When structure union in is that declared, union will enough only storage contain IS one allocated of its for members the at member any of items ber requiring ofa union the greatest will amount overwrite of any memory data When previously value stored in the assigned union to any mem- s uld then rray swedi sh he enu- ility "A union will only contain one of its members at any instant." From the painting The Proposal by William Powell Frith 187 The declaration of a union is like that of a structure It has the general form union tag membey iist where union keyword and the tag is an optio ...