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 / 071.jpg < prev    next >
Joint Photographic Experts Group Image  |  2014-01-09  |  623KB  |  2550x3300
Labels: book | poster | reckoner | shelf
OCR: The if and if-else Statements add const 20, the value int add const int intvar, int constant alue S .0 which nal expression. return( intvar constant ties These will An overview of this program reveals two familiar preprocessor statements and two functions, main( and add const The function add const returns the value of const ant plus its first argument The conditional statement appears towards the end of ma in Note 1 : The conditional statement starts on this line and terminates on the next The parentheses enclosing the control expression are mandatory NSTANT, part of the syntax less Note 2: The control expression in this example is relational expression. As would be expected it is true when the value of sum less than 20 and statement false otherwise That is. the expression has value when ...