home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / CH_01 / 048.jpg < prev    next >
Joint Photographic Experts Group Image  |  2014-01-06  |  514KB  |  2550x3300
Labels: book | crt screen | poster | reckoner | screen
OCR: Chapter Getting Started Ob ective To demonstrate funct ion that 1 takes parameter and returns value Three vers: ons of functi ion calls are also demon stra ted Incl ude Files #incl lude <stdio .h> Function Prototypes int f int Note 1 PRECONDITI ION can be any integer POSTCOND ITION: The value returned is x+3 int main( void int Note 2 pr. intf is \n y; f( ; Note 3 printf "The value of is %d\n x); f( X ); Note 4 pr intf "The value of f(5)is $d\n" f5; Note return int int Note 6 return Note 7 Running the Program 15 The value of is The value of Objective versions demonstrated PRECONDITION