单选题:有如下程序: #include usingnamespacestd; intmain() { cout.fill('*'

  • 题目分类:C++
  • 题目类型:单选题
  • 查看权限:VIP
题目内容:
有如下程序:
#include
usingnamespacestd;
intmain()
{
cout.fill('*');
cout.width(6);
cout.fill('#');
cout<<123<<endl;
return0;
}
执行后的输出结果是(  ) A.###123
B.123###
C.***123
D.123***
参考答案:
答案解析:

数据库设计的根本目标是要解决(  )

数据库设计的根本目标是要解决(  )A.数据共享问题 B.数据安全问题 C.大量数据存储问题 D.简化数据维护

查看答案

现有两个C程序文件T18.c和myfun.c同在TC系统目录(文件夹)下,其中T18.c文件如下:#include <s

现有两个C程序文件T18.c和myfun.c同在TC系统目录(文件夹)下,其中T18.c文件如下:#include #include "myf

查看答案

A Pay Rise or Not?

A Pay Rise or Not?“Unless I get a rise, I’ll have a talk with the boss, Henry Ma

查看答案

当运行以下程序时,输入abcd,程序的输出结果是:______。 insert(charstr[]) {inti; i=

当运行以下程序时,输入abcd,程序的输出结果是:______。 insert(charstr[]) {inti; i=strlen(str); while(i

查看答案

在窗体上画一个名称为Command1的命令按钮,然后编写如下事件过程: Private Sub Command1_Cli

在窗体上画一个名称为Command1的命令按钮,然后编写如下事件过程: Private Sub Command1_Click() Static x As Int

查看答案