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 / 463.jpg < prev    next >
Joint Photographic Experts Group Image  |  2014-01-29  |  582KB  |  2550x3300
Labels: binder | book | crt screen | monitor | poster | reckoner
OCR: Modules and External Variables 463 Example 8-6 driver.c driver. Synopsis Disp lays the value of vari iable, increments it, and di splays again Object ve TO demorst rate very simp le npow ar program with vari iable decl ared externally is of vari- variable external Global Vari iables int Note be addi- th of the Functi .on Protot ypes*/ en upper- extern void output void ); Note 2 Standards, PRECONDITION: none different POS TCONDITION: displays the value of the variable nerement modular ate mod- he driver extern void incr( void ) PRECONDITION: none function will POSTCONDITION: increments the variable dule crements he single he func int main( void tput output Note 3 t neces- incr for out tput ain( ret turn This file contains a single function named main() When the program is exe- cuted, execut ...