单选题
VB
题号 #2873943
执行以下程序段后,变量c$的值为( )。

参考答案
D
答案解析
本题考查Visual Basic中字符串处理函数。Right(字符串,n):取字符串右部的n个字符;Mid(字符串,p,n):从位置p开始取字符串的n个字符;UCase(字符串):把小写字母转换为大写字母。明白上述函数的功能后,不难得出本题的结果为选项D。
你可能感兴趣的试题
A.MsgBox函数返回一个整数
B.通过MsgBox函数可以设置信息框中图标和按钮的类型
C.MsgBox语句没有返回值
D.MsgBox函数的第二个参数是一个整数,该参数只能确定对话框中显示的按钮数量
A.Label1.BackStyle=0
Label1.BorderStyle=0
Label1.BorderStyle=0
B.Label1.BackStyle=1
Label1.BorderStyle=1
Label1.BorderStyle=1
C.Label1.BackStyle—True
Label1.BorderStyle—True
Label1.BorderStyle—True
D.Label1.BackStyle=False
Label1.BorderStyle=False
Label1.BorderStyle=False
A.Menu1.Enabled=True
B.Menu1.Enabled=False
C.Menu1.Visible=True
D.Menu1.Visible=False