
Listing 4:
int testcalled = 0;

main()
{
	test();
	printf("test() called, testcalled = %d\n", testcalled);
	test();
	printf("test() called, testcalled = %d\n", testcalled);
	exit(0);
}

