int k; static int j; void fun1(void) { static int i = 0; i ++; printf("i = %d ",i); } void fun2(void) { j = 0; j++; printf("j = %d ",j); } int main() { for(k=0; k<10; k++) { fun1(); fun2(); printf("\n"); } return 0; }