填空题

下列程序段的输出结果是 【15】 。   cout<<fixed<<509.123456789<<endl;

【参考答案】

【15】509.123457
<上一题 目录 下一题>
热门 试题

填空题
将x+y中的+运算符用友元函数重载应写为 【11】 。
填空题
已知程序的结果为123,请填空。#include<iostream.h>template<classT>classA{public:Tx,y,z;voiddisplay( ){cout<<x<< <<y<< <<z;}};voidmain( ){A<int>al;【12】 【13】 【14】 al.display( );}
相关试题
  • 下列描述中哪个是正确的()
  • 下述关于数据库系统的叙述中正确的是
  • 若定义intk=7,x=12;,则能使值为3...
  • 一个类的友元函数能够访问该类的
  • 已知有定义 constintD=5; inti=1;...