运行下列程序的输出结果为( )。[程序]#includeusing namespace std;int a=5;void fun(void){int a=10;::a++;a++;cout<<::a+a<<'\t';}int main(void){int a=15;fun();cout<<::a+a<<'\n';return 0;}
A. 17 20
B. 17 21
C. 22 26
D. 25 27
运行下列程序的输出结果为( )。[程序]#includeusing namespace std;int f(){int x=1;static int y=5;x++;y++;return x+y;}int main(void){int i=1;while(i<=2){cout<
A. 88
B. 89
C. 98
D. 99
运行下列程序的输出结果为( )。[程序]#includeusing namespace std;void f(int x,int &y,int *z){x=10,y=20,*z=30;}int main(){ int a=1,b=2,c=3; f(a,b,&c); cout<
A. 60
B. 33
C. 6
D. 51
运行下列程序的输出结果为( )。[程序]#includeusing namespace std;void f(double x=1,double y=2,double z=3){cout<
A. 123
B. 145
C. 451
D. 453