[单选题]

若有程序 fun(int a,int b) { static int c=0 c+=a+b; retum c; } main () { int x=5,y=3,z=7,r; r=fun((y,x+y),z); r=fun(x,y); printf("%d/n",r); } 上面程序的输出结果______。

A.23

B.15

C.19

D.18

参考答案与解析:

相关试题

若有程序fun(int a,int b){ static int c=0 c£«