填空题
下面程序的运行结果是
【13】
。 #include<iostream.h> void fun(ira &a,int b=3) { static int i=2; a=a+b+i; i=i+a; } void main() { int x=5,y=2; fun(x,y); eout<<x<<",,; fun(x); cout<<x<<endl; }
【参考答案】
I,BC
点击查看答案
<上一题
目录
下一题>
热门
试题
填空题
有如下类声明:class MyClass{int i;private:int j;protected: int k;public: int m, n;其中,私有成员的数量为 【15】 。
点击查看答案
填空题
语句cout<<setiosflagags(ios::showpos)<<125<< t <<-125<<endl;的输出结果为 【14】 。
点击查看答案
相关试题
阅读下面程序:#include <iostream.h>...