home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / CH_02 / 079.jpg < prev    next >
Joint Photographic Experts Group Image  |  2014-01-09  |  697KB  |  2550x3300
Labels: book | poster | reckoner
OCR: The if and if-else Statements the printf f call on the next line executed. This terminates the exe- cution of the compound .f -else statement and the functions test (} Control passes to the call pr intf at the end of main () If the expression (gues 5 not true control stays with the compound se statement Note the indentation for the compound lse statement. This style is one of the accepted ways of formatting this statement Other methods of formatting are also acceptable; they usually involve more indentation The important point is that this 19 compound statement and only one of the staterments will be executed. The indentation for a com- pound statement should be consistent. Note 3:1f neither of the above expressions tests true, then guess equal to this case the statement following this els ...