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 / 427.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-21  |  527KB  |  2550x3300
Labels: book | box | crt screen | daybook | poster | reckoner | shelf
OCR: Unions 427 Example 7-11: union2.c aytype. uni icn2 ctly any other Synopsis Displays the valucs of the bits and the bytes sure that short int. Object ive illustrate the use of bit fields and uni ions ne input? accessing the bits and bytes of quantity. of Include Files #incl lude Sstdio h hy not? theris int main( void and func struct unsi bits igned first Note 1 yee uns igned second hap uns igned thi ird uns igned fourth uns igned fi fth uns gned ixth uns igned seventh uns gned e ighth uns igned ni inth union uns igned tenth value to uns igned eleventh different uns uns: igned igned thi twelfth rteenth uns gned four teenth access uns igned fifteenth bitfld2.c uns iqned sixteenth res The and the bytes struct bytes Note 2 nces the uns igned first 8 These unsi igned second 8 of the union access ...