填空题
下面程序的执行结果是
【15】
。
#include <iostream>
#include <iomanip>
using namespace std;
void main()
cout<<setfill('x')<<setw(10);
cout<<"Hello"<<end1;
1、
【正确答案】
1、xxxxx Hello
【答案解析】
[解析] setw 设置输出宽度,setfill 设置填充字符v。
提交答案
关闭