填空题

语句cout<<setiosflagags(ios::showpos)<<125<<"/t"<<-125<<endl;的输出结果为 【14】 。

【参考答案】

+125-125
<上一题 目录 下一题>
热门 试题

填空题
阅读下面程序: #include <iostream.h> void main() int i,j,row=0,column=0,m; static int a[3][3]= 100,28,72,-30,2,-100; m=a[0][0]; for (i=0;i<3;i++) for (j=0;j<3;j++) if (a[i][j]<m) m=a[i][j]; row=i; column=j; cout<<m<< , <<row<< , <<column<<endl; 该程序的功能是 【11】 ,其执行结果为上丝 【12】 。
填空题
下面程序的运行结果是 【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;
相关试题
  • 有如下类声明: class MyClass int i;...