// This example shows the use of function prototypes, and various variable storage
// classes. 

#include <stdio.h>
#define SECONDPRINT

// function prototype
void printTheNumber(int number); 

// global variable
int globalInteger = 10;

int main(int argc, char* argv[]) {
	int number;
	number = 55;
	printTheNumber(number);
#ifdef SECONDPRINT
	printTheNumber(number);
#endif
	return 0;
}

void printTheNumber(int number) {
	static int count = 1;
	printf("The number is %d\n", number);
	printf("This is the %dth time you are printing\n", count);
	printf("globalInteger is now %d\n", globalInteger);
	count++;
        globalInteger--;
}


