题目内容

以下程序的执行结果是( )。#includestatic int a=5;main(){printf("a=%d\n",a);p1();p2();}p1(){printf("a*a=%d\n",a*a); a=2; }p2(){printf("a*a*a=%d\n",a*a*a); }
更多问题

以下程序的执行结果是( )。#includestatic int x=5;main(){ auto int x=3;printf("1.x=%d\n",x);f1();f2();printf("4.x=%d\n",x);}f1(){x+=1;printf("2.x=%d\n",x); }f2(){int x=1;printf("3.x=%d\n",x); }