以下程序运行后,输出结果是()。intfunc(inta,intb){staticintm=0,i=2;i+=m+1;m=i+a+b;returnm;}voidmain(){intk=4,m=1,p;p=func(k,m);printf("%d,",p);p=func(k,m);printf("%d\n",p);}
A. 8,15
B. 8,16
C. 8,17
D. 8,8
请读程序:voidmain(){inta=1,b=2,c=3;++a;c+=++b;{intb=4,c;c=b*3;a+=c;printf("first:%d,%d,%d\n",a,b,c);a+=c;printf("Second:%d,%d,%d\n",a,b,c);}printf("third:%d,%d,%d\n",a,b,c);}该程序的输出是()。
A. first:12,4,12Second:26,4,12third:4,3,6
B. first:14,4,12Second:26,12,12third:26,3,4
C. first:14,4,12Second:26,4,12third:26,3,6
D. first:14,4,12Second:26,6,12third:26,4,6