A-A+
阅读下面程序: include<iostream.h> void fun(int n) {
问题详情
阅读下面程序:
include<iostream.h>
void fun(int n)
{
int x(5);
static int y(10);
if(n>0)
{
++x;
++y;
cout<<x<<","<<y<<end1;
}
}
void main()
{
int m(1);
fun(m);
}
则该程序的输出结果是______。请帮忙给出正确答案和分析,谢谢!
参考答案
正确答案:611
6,11