home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / CH_08 / 454.jpg < prev    next >
Joint Photographic Experts Group Image  |  2014-01-29  |  687KB  |  2550x3300
Labels: book | reckoner
OCR: 452 Chapter 8 Intraprogram Communication Learning Activities Make the following changes to the program error.c. Rermove the reference to the variable in the printf() call (For example, printf( could just report the value returned by addi Make counter a parameter rto the function addit() You will need to change the call to addi and the function heading n the definition of add t and the function prototype Compile the program error.c Make any necessary changes so that will compile Predict the of your modified program Then run the pro- gram to verify your prediction Reconcile any differences between your prediction and the actual output for the program Global Variables global variable (also called an external variable) is a variable that can be refer- enced by more than one functi ion It is de ...