单选题
有如下程序:
#include <iostream>
#include <iomanip>
using namespace std;
int main()
cout.fill('*');
cout.width(6);
cout.fill('#');
cout<<123<<endl;
return 0;
执行后的输出结果是( )。
A.###123 B.123###
C.***123 D.123***
A
B
C
D
【正确答案】
A
【答案解析】
提交答案
关闭