void sub(void){
static int abc = 0;
abc++;
printf("%d,",abc);
}
呼び出した時にabcは
毎回ゼロ初期化されるのでしょうか?
それとも1,2,3,4,5・・・となるのでしょうか?