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 / 409.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-20  |  647KB  |  2550x3300
Labels: book | crt screen | poster | reckoner
OCR: Bit Fields 409 printf( "\televenth 8X twelfth &X, in" bit acces >eleven th bit acces SS ->twel f+h printf( "\tthirteenth fourteenth X n bit acces ->thi rteen th bit access->fourt teenth printf( "\tfifteenth xteenth access f fteenth s->s ixteenth return Running the Program sizeof struct bits sizeof struct bytes sizeof twobytes byte second byte 12 second third fourth fth sixth seventh ghth ninth tenth leventh twelfth thirteenth four teenth fi fteenth sixteenti The program consists of the single function in() Besides the structure declarations, the code consists of three assignment staterments and numerous calls to printf Note 1:A structure is declared that consists of sixteen bit fields Each bit field contains one bit. The variable bit access isa pointer to a quantity of type truct bi ts Not ...