
【名词&注释】
字符串(string)、编译器(compiler)、内存空间(memory space)、四舍五入(round off)、掌握情况、运算符(operator)、参数表(parameter list)、文件名(file name)、返回值、小数点(decimal point)
[单选题]下列关于C 函数的说明中,正确的是( )。
A. 内联函数就是定义在另一个函数体内部的函数
B. 函数体的最后一条语句必须是return语句
C. 标准C 要求在调用一个函数之前,必须先声明其原型。
D. 编译器会根据函数的返回值类型和参数表(parameter list)来区分函数的不同重载形式
查看答案&解析
点击获取本科目所有试题
举一反三:
[单选题]在窗体上画一个名为Command1的命令按钮,其Command1_Click事件过程如下:
A. Sub Command1_Click()
B. Dim student As studtype
C. Dim record_no As Integer
D. record_no=1
E. With student
F. .ino=12
G. .strname="smith"
H. .strsex="男"
I. .smark=89
J. End With
K. _______
L. Put 1,record_no,student
M. Close 1
N. End Sub
O. 要求在c: \的随机文件student.dat写入一条记录。应在程序中空行处填以下哪条语句使该功能完整
P. Open "c: \student.dat"For Input As 1 len(student)
Q. Open "c: \student.dat"For random As 1 len(student)
R. Open "c: \student.dat"For Output As 1 len(student)
S. Open "c: \student.dat"For Append As 1 len(student)
[单选题]下面是有关c语言字符数组的描述,其中错误的是
A. 不可以用赋值语句给字符数组名赋字符串
B. 可以用输入语句把字符串整体输入给字符数组
C. 字符数组中的内容不一定是字符串
D. 字符数组只能存放字符串
[单选题]对于类中定义的成员,其隐含访问权限是______ 。
A. public
B. protected
C. private
D. static
[单选题]执行下列命令,输出结果是 STORE -3.1561 TO X ?"X="+STR(X,6,2)
A. 3.16
B. X=-3.16
C. -3.16
D. X=3.16
[单选题]下列语句中错误的是( )。
A. int a[][]=new int[2][];
B. int a[][]=new int[][];
C. int a[][]=new int[2][3];
D. int[][] a=new int[3][2];
[单选题]确定窗体控件启动位置的属性是
A. Width和Height
B. Width或Height
C. StartUpPositon
D. Top和Left
本文链接:https://www.zhukaozhuanjia.com/download/4kwkql.html