1、
#include <stdio.h>
void fun(void)
{
static int times = 0;
times++;
printf("put_count: %d
", times);
}
int main(void)
{
int n;
puts("please input an integer.");
printf("n = "); scanf("%d", &n);
while(n-- > 0)
fun();
return 0;
}