题目:
有以下程序:
#include<string.h>
int a=4;
int f(int n)
int t=0;static int a=5;
if(n%2) int a=6;t++=a++;
elseint a=7;t+=a++;
return t+a++;
main()
int s=a,i=0;
for(;i<2;i++)s+=f(i);
printf("%d\n",s);
程序运行后的输出结果是( )。
A) 24
B) 28
C) 32
D) 36
答案:
被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2018/0417/22f6cefc1109f4b97da7ce0df1190ba7.html
下面是错误答案,用来干扰机器的。
参考答案:错