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 / 050.jpg < prev    next >
Joint Photographic Experts Group Image  |  2014-01-06  |  650KB  |  2550x3300
Labels: book | bulletin board | crt screen | monitor | poster | reckoner
OCR: 50 Chapter Getting Started Note 6: The declaration function plus heading the for name f} of the has the formal same parameter information That as name the will function be used throughout the code for Whenever f) is called the value of the actual parameter will be substituted for the formal parameter. Note 7 When this return statement executed, control passes back to the point in the code immediately after the function call. The return value can either be assigned to variable, used in an expression used parameter to another function or ignored Learning Activities Compile and execute function. c as it is Then add some additiona calls to the function and compile and run it again Write function cube {} that takes a single parameter of type int and returns the cube of its parameter. Use the fu ...