下面程序的输出结果为【】。includef(int a){int b=0; static int c=3; b++; c++; retu
下面程序的输出结果为【 】。
include<iostream.h>
f(int a)
{int b=0;
static int c=3;
b++; c++;
return(a+ b+ c);
}
void main()
{int a=2,i;
for(i=0;i<3;i++)
cout<<f(a)<<end1;
}
正确答案:789789
词条内容仅供参考,如果您需要解决具体问题
(尤其在法律、医学等领域),建议您咨询相关领域专业人士。
