单项选择题
有如下程序:
#include <iostream>
#include <iomanip>
using namespace std;
int main()
cout.fill(’*’);
cout.width(6);
cout.fill(’#’);
cout<<123<<end1;
return 0;
执行生的输出结果是( )。
A.###123
B.123###
C.***123
D.123***
点击查看答案
<上一题
目录
下一题>
热门
试题
填空题
语句cout<<setiosflags(ios::showpos)<<38<< <<-38<<end1;的输出结果为 【7】 。
点击查看答案
填空题
在程序设计阶段应该采取 【5】 和逐步求精的方法,把一个模块的功能逐步分解,细化为一系列具体的步骤,进而用某种程序设计语言写成程序。
点击查看答案
相关试题
虚基类说明格式如下:slass派生类名 【1...
有如下程序: #include <iostream> u...
下面程序的执行结果是 【15】 。 #in...
类ostream的成员函数 【10】 用于执行...
阅读下面程序: #include <iostream.h...