单选题
C++
题号 #4126125
下面程序的输出结果是( )
#include<iostream>
using namespace std;
void fun(int i);
int main()
{
int n;
fun(n);
return 0;
}
void fun( int n )
{
static int x = 1;
int y = 1 ;
if(i>0)
{
++x;
++y;
cout<<x<<''<<y;
fun(i - 1);
}
}
参考答案
D
答案解析
略。
你可能感兴趣的试题
A.testDefaulParam(5);
B.testDefaulParam(5,8);
C.testDefaulParam(6,'#')
D.testDefaulParam(0,0,'*');


