#include <stdio.h>
void func(void){
static int count = 0;
count++;
printf("funcの実行数:%d\n", count
); }
int main(void) {
func();
func();
func();
func();
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CnZvaWQgZnVuYyh2b2lkKXsKICAgIHN0YXRpYyBpbnQgY291bnQgPSAwOwogICAgY291bnQrKzsKICAgIHByaW50ZigiZnVuY+OBruWun+ihjOaVsO+8miVkXG4iLCBjb3VudCk7Cn0KaW50IG1haW4odm9pZCkgewogICAgZnVuYygpOwogICAgZnVuYygpOwogICAgZnVuYygpOwogICAgZnVuYygpOwoJcmV0dXJuIDA7Cn0K