问题
单项选择题
以下程序的输出结果是______。
int d=1;
fun (int p)
static int d=5;d+=p;
printf("%d",d);return(d);
main()
int a=3;printf("d\n",fun(a+fun(d)));
A) 699 B) 669 C) 6 15 15 D) 66 15
答案
参考答案:C
以下程序的输出结果是______。
int d=1;
fun (int p)
static int d=5;d+=p;
printf("%d",d);return(d);
main()
int a=3;printf("d\n",fun(a+fun(d)));
A) 699 B) 669 C) 6 15 15 D) 66 15
参考答案:C