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 / 431.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-21  |  642KB  |  2550x3300
Labels: book | poster | reckoner
OCR: Unions 431 gram Constant Definiti ions #define STRING LGTH 20 roach int main void union Note ent com- int intmem, m Do floa floa tmem; na out uns gned bi tmem 4 char stringmem [STRING LGTH]; on tryit, bit tryit intmem 0x1248; Note 2 Note 3 pri intf( "Sizeof the union and its members in" pri intf( n pri intf( "sizeof (union a\n zeof( uni ion pri intf( "si izeof tryit intmem) zeof trv tmem) pr intf( "sizeof (tryit floa tmem) sd\n izeof{ tryi floatmem llocated printf "sizeof (tryit. .stri ingmem) %d\r gnments izeof( tryit str ingmem can be Note iningful pri intf( "Addresses of the uni ion and the members n pri intf( ing with printf( &trvit %x. \n" &tryit 19 on other The pri pr: intf intf( 11 "&tryit tryi floa .ntmem itmem X (tryit ryi intmem) loa tmem) The pri intf stri .ncmem ry str ingmem N ...