网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

有如下程序

#include

#include

using namespace std;

int main(){

count<<12,345<<&NBSP;<<34,567;

return 0;

}

若程序的输出是:

**12.345**34.567

则程序中下划线处遗漏的操作符是______。

A.setprecision(3)

B.fixed

C.setfill(*)

D.stew(8)


参考答案

更多 “ 有如下程序#include#includeusing namespace std;int main(){count12,345NBSP;34,567;return 0;}若程序的输出是:**12.345**34.567则程序中下划线处遗漏的操作符是______。A.setprecision(3)B.fixedC.setfill(*)D.stew(8) ” 相关考题
考题 促进Th1细胞发育的是A.LT-1B.LT-6C.LT-8D.LT-10E.LT-12

考题 抑制Th1细胞发育的是A.LT-1B.LT-6C.LT-8D.LT-10E.LT-12

考题 以下哪个资源定位器的写法是正确是?()A.http://www.wls.com/lt/lt.htmB.http:||www.wls.com/lt/lt.htmC.http://www.wls.com\lt\lt.htmD.http:||www.wls.com\lt\lt.htm

考题 有以下程序includemain(){int a=5,b=lt; t=(a 有以下程序 #include<stdio.h> main() { int a=5,b=lt; t=(a<<2)|b;printf("%d\n",t); } 程序运行后的输出结果是______。A.21B.11C.6D.1

考题 若有运算符:&gt;、一、&lt;&lt;、%、sizeof,则它们按优先级(由高至低)的正确排列顺序为( )。A.%、sizeof、&gt;、&lt;&lt;、=B.sizeof、%、&gt;、一、&lt;&lt;C.sizeof、&lt;&lt;、&gt;、%、=D.sizeof、%、&lt;&lt;、&gt;、=

考题 有如下程序: #includeiostream usingnamespacestd; classTest( public: Test( ){} Test(constTest8Lt){cout1;} }; Testfun(Test&u){Testt=U;returnt;} intmain( ){Testx,y;x=fun(y);return0;} 运行这个程序的输出结果是( )。A.无输出B.1C.1lD.111

考题 有以下程序:当执行程序时,按下列方式输入数据(从第l列开始,&lt;CR&gt;代表回车,注意:回车也是一个字符]12&lt;CR&gt;34&lt;CR&gt;则输出结果是( )。A.12B.123C.1234D.12343

考题 有以下程序段: inti,j,m=0; for(i=1;i&lt;=15;i+=4) for(j一3;j&lt;=19;j+=4)m++; printf(‘‘%d\n‘‘,m); 程序段的输出结果是( )。A.12B.15C.20D.25

考题 设有一列表lt,实现下列功能: 判断lt中是否包含数字0 向lt新增数字0 返回数字0所在lt中的索引 lt的长度 lt中最大元素 清空lt

考题 已知lt=[1,2,3],下面表达式能够修改lt为[1,2,3,4]的是A.lt+=4B.lt.append(4)C.lt.insert(3,4)D.lt.insert(-1,4)