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 / 007.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-11  |  855KB  |  2550x3300
Labels: book | poster | reckoner
OCR: Subprograms or Functions in 1.3 Subprograms or Functions in C the leaning source for subprogram 1 essential in writing structured modular code may have program functions is a but collection of subprograms called functions. Other languages alphabetic do which return return values, as well contrast as subroutines or procedures which perform whether tasks or not not values. In all subprograms are functions aphic ences char- such a value 15 returned ANSIC has the following general form: function definition in naracter set the above type funct ion name formal Da rame er dec arat ons erent char examples vari able declara .ons of ASCII code ims will be tion's The first line is the function heading; it consists of the function type, the the func- func- name, and a pair of Fparentheses that will en ...