题目内容
(请给出正确答案)
[主观题]
语句cout<<setiosflags(ios::showpos)<<38<<""<<-38<<end1;的输出结果为【】。
语句cout<<setiosflags(ios::showpos)<<38<<""<<-38<<end1;的输出结果为【 】。
如搜索结果不匹配,请 联系老师 获取答案
语句cout<<setiosflags(ios::showpos)<<38<<""<<-38<<end1;的输出结果为【 】。
第1题
第2题
有以下程序: #include<iostream.h> #include<iomanip.h> void main() { cout.fill('*'); cout.width(10); cout,<setiosflags(ios::left)<<123.45<<endl; } 程序执行后的输出结果是()
A.****123.45
B.**123.45**
C.123.45****
D.***123.45*
第3题
A.cout<<a=a+b<<endl;
B.cout<<a>b?a:b<<endl;
C.cout<<(hex)a+b;
D.cout<<&a<<endl<<a<<endl;
第7题
要在屏幕上显示"Hello,world!"应执行语句cout<<"\"hello,world!\""。()
为了保护您的账号安全,请在“赏学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!