home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / CH_03 / 144.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-21  |  696KB  |  2550x3300
Labels: book | daybook | desk | reckoner
OCR: 144 Chapter Basic Data Types Running the Program The sizeof type char is 1 bytes charvar the character It can be disp layed in decimal as 99 ir octa 143 ir hexadec imal Intvar is the decimal integer, It can be written in hex, or octal, 111, or even treated as the character An overview of charvar.c reveals a single function. main() Two variables are the declared. Bi izeof one {) of type operator, int the and code one of sequence type char. of an After assignment apri intf() statement call involving followed by printf() calls appears twice. Note 1:A variable of type char declared The name of the variable charvar. The declaration consists of the keyword char, the variable name, and the terminating semicolon. Note 2: The sizeof operator applied to type char The parentheses are nec essary when ...