main()
{int a=2,i;
for(i=0;i<3;i++)printf("%4d",f(i));}
f(int a)
{int b=3;
static int c=0;
b++;c++;return(a+b+c);
}
出自:中北大学-C语言程序设计