单项选择题有如下程序: #include #include using namespace std;_ int main(){ Cout< Cout<<12.3456793<<_______<<98765; return 0; } 若程厚的输出是12.345679x98765xxxxx,则划线处缺失的部分是()
A.setw(10) B.setfill('x') C.setprecision(8) D.right
单项选择题有类定义如下:气 class Type { public: Type (int i=0); Tvpe operator -(int); friend Type operator + (Type, Type ); private: int val; 若有对象定义Type cl;则下列语句序列中,错误的是()
A.Type(3)+c1; B.cl+Type(3); C.3-cl; D.c1-3;