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 / 434.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-21  |  469KB  |  2550x3300
Labels: binder | book | daybook | poster | reckoner
OCR: 434 Chapter Structuring the Data Accessing elements: structvar .member st ructptr- ->member Initializing: struct tag structvar "NAME" 5, 1.47 }; Types bit fields enumerated types structure types union types Unions Declarations: un ion tag int char intfield, arrayfield [BUF LGTH]; dcuble doubl efield Accessing elements: un uni onpt ionvar fie fieldname laname Variable Declarations An array of structures: sr ruct tac ruct array BUF LGTH] pointer to a structure struct tag ructptr, structure with bit fields: struct uns igned a:4 uns igned b:2; An enumerated variable: enum bool ean flag; union: un. ion tag uni onvar, pointer to a union: union tac *uni onptr, struc tarray ionptr