2.2. void examples
void example, with global counter:int c = 0; void prompt( void) { ++c; if( c > 100) return; printf( "Enter value #%i: ", c); }void example, with static counter:
void prompt( void) { static int c = 0; ++c; if( c > 100) return; printf( "Enter value #%i: ", c); }storage class: automatic vs. static
scope: local vs. global