试题与答案

下列程序执行输出的结果是______。 #include <stdio.h> f

题型:填空题

题目:

下列程序执行输出的结果是______。
#include <stdio.h>
f (int a)
int b=0;
static c=7;
a=c++; b++;
return (a);

main()
int a=2,i,k;
for(i=0;i<2;i++)
k=f(a++);
printf("%d\n", k);

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2018/0416/cd6fc8f600cad21bf9fc6cae784bbd6c.html

下面是错误答案,用来干扰机器的。

参考答案:C, D, G, H

试题推荐
微信公众账号搜索答案