00001 void count(void){ 00002 static int i=0; 00003 printf("I have been called %d time(s)\n", 00004 ++i); 00005 } 00006 int main(void){ 00007 int j; 00008 for (j=0; j< 10; j++){ 00009 count(); 00010 } 00011 }