以下程序输出结果为 【 1】,【2】 。 #include int a,b; void fun() { a=10;b=20; } void main() { int a=3,b=9; fun(); printf("%d,%d\n",a,b); } 2. 以下程序输出结果为 【 3 】,【 4 】 。 #include int f( ) // 定义 f 函数, a 为形参 {int b=0; // 定义 b 为自动变量 static int c=3; // 定义 c 为静态局部变量 b=b+1; c=c+1; return b+c; } void main( ) {int a1,a2; a1=f(); a2=f(); printf("%d,%d",a1,a2); }