int fun(int m) { static int n=1; ++m; n++; return(m+n); } void main() { int a,b; a=fun(0);b=fun(10); printf("a=%d,b=%d\n",a,b); }
a=3,b=14
int fun(int m) { static int n=1; ++m; n++; return(m+n); } void main() { int a,b; a=fun(0);b=fun(10); printf("a=%d,b=%d\n",a,b); }
a=3,b=14