![](http://static.sotiji.com/static/index/img/ques_detail.png)
如下程序的输出结果是includeusing namespaee std;int main( ){eout.fill('*');eout.
如下程序的输出结果是 #include<iostream> using namespaee std; int main( ){ eout.fill('*'); eout.width(6); cout.fill('#'): eout<(123<endl: return 0; }
A.###123
B.123###
C.***123
D.123***
![](http://static.sotiji.com/static/index/img/search_middle.png)
![](http://static.sotiji.com/static/index/img/xqques.png)
相关问题推荐
有以下程序: #include<stdio.h> main() {FILE *pf; char*s1="China",*s2="Beijing": pf=fopen("abc.dat","wb+"); fwrite(s2,7,1,pf); rewind(pf); /*文件位置指针回到文件开头*/ fwrite(s1,5,1,pf); fclose(pf); } 以上程序执行后abc.dat文件的内容是( )。
A.China
B.Chinang
C.ChinaBeijing
D.BeijingChina
在表单设计器的属性窗口中设置表单或其他控件对象的属性时,下列叙述正确的是()。
A.表单的属性描述了表单的事件和方法
B.以斜体字显示的属性值表示为只读,不可以修改
C.属性窗口只包括属性、方法和事件列表框和对象框
D.以上都不正确
下面程序段的输出结果是 class Base { int i; Base() { add(1); } void add(int v) { i+=v; } void print() { System.out.println(i); } } class Extension extends Base { Extension() { add(2); } void add(int v) { i+=v*2; } } public class Test { public static void main(String args[]) { bogo(new Extension()); } static void bogo(Baseb){ b.add(8); b.print(); } }
A.9
B.18
C.20
D.22
在Visual FoxPro中,在数据库中创建表的CREATE TABLE命令中定义主索引、实现实体完整性规则的短语( )。
A.FOREIGN KEY
B.DEFAULT
C.PRIMARY KEY
D.CHECK
下列常见的系统定义的异常中,哪个是数组越界异常?
A.ArrayIndexOutOfBoundsException
B.IOException
C.NullPointerException
D.ArithmeticException