[单选题]

有如下语句:

str1=InputBox(“输入 ”,” ”,”联系 ”)

从键盘上输入字符串“学生”后,str1的值为( )

A.“输入”

B.“ ”

C.“联系”

D.“学生”

参考答案与解析:

相关试题

设有如下语句:str1=IntputBox("输入","","练习")从键盘上输

[单选题]设有如下语句:str1=IntputBox("输入","","练习")从键盘上输入字符串“示例”后,str1的值是( )。A.输入C.练习D.示例

  • 查看答案
  • 有如下语句序列: Char str[10];Cin>>str; 当从键盘输入“I

    [单选题]有如下语句序列: Char str[10];Cin>>str; 当从键盘输入“I love this game”时,str中的字符串是( )。A.”I love this game”B.”I love thi”C.”I love”D.”I”

  • 查看答案
  • 有如下语句序列:char str[10];cin>>str;当从键盘输入”I l

    [单选题]有如下语句序列:char str[10];cin>>str;当从键盘输入”I love this game”时,str中的字符串是A.”I love this game”B.”I love thi”C.”I love”D.”I”

  • 查看答案
  • 有如下语句序列:char str[10];cin>>str;当从键盘输入”I l

    [单选题]有如下语句序列:char str[10];cin>>str;当从键盘输入”I love this game”时,str中的字符串是A.”I love this game”B.”I love thi”C.”I love”D.”I”

  • 查看答案
  • 从键盘上能够输入两个字符串,分别保存在变量str1、str2中。确定第二个字符串

    [单选题]从键盘上能够输入两个字符串,分别保存在变量str1、str2中。确定第二个字符串在第一个字符串中起始位置的函数是()A . LeftB . MidC . StringD . Instr

  • 查看答案
  • 有如下语句序列:<br />char str[10];cin>>str;<br />当从键盘输入“I love this game”时,str中的字符串是(  )。

    [单选题]有如下语句序列:char str[10];cin>>str;当从键盘输入“I love this game”时,str中的字符串是(  )。A.“Il

  • 查看答案
  • 从键盘上输入两个字符串,分别保存在变量str1、str2中,则确定第二个字符串在

    [单选题]从键盘上输入两个字符串,分别保存在变量str1、str2中,则确定第二个字符串在第一个字符串中起始位置的函数是______。A.LeftB.MidC.StringD.Instr

  • 查看答案
  • 从键盘上输入两个字符串,分别保存在变量str1、str2中。确定第二个字符串在第

    [单选题]从键盘上输入两个字符串,分别保存在变量str1、str2中。确定第二个字符串在第一个字符串中起始位置的函数是A.LeftB.MidC.StringD.Instr

  • 查看答案
  • 从键盘上输入两个字符串,分别保存在变量str1、str2中。确定第二个字符串在第

    [单选题]从键盘上输入两个字符串,分别保存在变量str1、str2中。确定第二个字符串在第一个字符串中起始位置的函数是()A . LeftB . MidC . StringD . Instr

  • 查看答案
  • 以下程序段运行时从键盘上输入字符“£­”,则输出结果为 op$=InputBox

    [单选题]以下程序段运行时从键盘上输入字符“-”,则输出结果为 op$=InputBox("op=") If op$="+" Then a=a+2 If op$="-" Then a=a-2 Print aA.2B.-2C.0D.+2

  • 查看答案