题目内容

有如下程序 #include<iostream.h> int func(int a,int B) { return(a+B) ;} void main( ) { int x=2,y=5,z=8,r; r=func(func(x,y),z); cout < < r; } 该程序的输出的结果是( )。

A. 第二行的声明不会为变量my分配内存空间
B. 第二行语句创建一个Vector类对象
C. 第三行语句创建一个Vector类对象
D. 第三行语句为一个Vector类对象分配内存空间

查看答案
更多问题

现有一个已经建好的窗体,窗体中有一命令按钮,单击此按钮,将打开“tEmployee”表,如果采用VBA代码完成,下面语句正确的是( )。

A. docmopenform"tEmployee"
B. docmopenview"tEmployee"
C. docmopentable"tEmployee"
D. docmopenreport"tEmployee"

设在工程中有一个标准模块,其中定义了如下记录类型______。 Type Books Name As String*10 TelNum As String*20 End Type 在窗体上画一个名为Commandl的命令按钮,要求当执行事件过程Commandl_click时,在顺序文件Person.txt中写入一条记录。下列能够完成该操作的事件过程是______。

A. Ptivate Sub Commandl Click() Dim B As Books Open"C:\Persotxt"For Output AS#1 Name=InputBox("输入姓名") TelNum=InputBox("输入电话号码") Write#1,Name,TeLNum Clodr#1 End Sub
B. Ptivate Sub Commandl_C1iok() Dim B As Books Opcn"c:\Persotxt"For Input As#1 Name=InputBox("输入姓名") TelNum=InpuBox("输入电话号码") Print#1,Name,TelNum C1ose#1 End Sub
C. Private Sub Commandl Click() Dim B As Books Open"c:\Persotxt"For Output As #1 Name=InputBox("输入姓名") TelNum=InputBox("输入电话号码") Write#1、B Close#1 End Sub
D. Private Sub Command1 C1ick() Dim B As Books Open"c:\Persotxt"For Input As #1 Name=InputBox('输入姓名') TelNum=InputBox("输入电话号码") Print#1,Name,TelNum Close#1 End Sub

While serving in the Senate in the early 1970's, Barbara Jordan supported legislation to ban discrimination and to deal with environmental problems.

A. list
B. forbid
C. handle
D. investigate

文艺复兴时期,米开朋基罗作于罗马西斯廷教堂墙壁上的祭坛画是()。

A. 《西斯廷圣母》
B. 《末日审判》
C. 《最后的晚餐》
D. 《圣母与圣子》

答案查题题库